feat: enhance image components with draggable attribute and context menu handling
This commit is contained in:
@@ -202,7 +202,7 @@ function MessageNotifications() {
|
||||
eventId: string;
|
||||
isDm: boolean;
|
||||
}) => {
|
||||
const notificationTitle = `${username} - Paarrot`;
|
||||
const notificationTitle = username;
|
||||
const notificationBody = messageBody || 'New message';
|
||||
|
||||
/** Replicates TitleBar click navigation logic */
|
||||
|
||||
@@ -119,10 +119,16 @@ export function DirectTab() {
|
||||
</SidebarAvatar>
|
||||
)}
|
||||
</SidebarItemTooltip>
|
||||
{directUnread && (
|
||||
<SidebarItemBadge hasCount={directUnread.total > 0}>
|
||||
{directUnread && directUnread.total > 0 && (
|
||||
<div style={{
|
||||
position: 'absolute',
|
||||
bottom: '2px',
|
||||
right: '2px',
|
||||
pointerEvents: 'none',
|
||||
zIndex: 2,
|
||||
}}>
|
||||
<UnreadBadge highlight={directUnread.highlight > 0} count={directUnread.total} />
|
||||
</SidebarItemBadge>
|
||||
</div>
|
||||
)}
|
||||
{menuAnchor && (
|
||||
<PopOut
|
||||
|
||||
Reference in New Issue
Block a user