mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-02-22 15:50:41 +01:00
Restore macOs room header dragability (#1136)
This commit is contained in:
parent
6aac68ca9a
commit
07523ecfdd
@ -72,15 +72,18 @@ export function setupMacosTitleBar(window: BrowserWindow): void {
|
||||
}
|
||||
|
||||
/* Mark the header as a drag handle */
|
||||
.mx_LegacyRoomHeader,
|
||||
.mx_RoomHeader {
|
||||
-webkit-app-region: drag;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
/* Exclude header interactive elements from being drag handles */
|
||||
.mx_RoomHeader .mx_RoomHeader_avatar,
|
||||
.mx_RoomHeader .mx_E2EIcon,
|
||||
.mx_RoomHeader .mx_RoomTopic,
|
||||
.mx_RoomHeader .mx_AccessibleButton {
|
||||
.mx_RoomHeader .mx_DecoratedRoomAvatar,
|
||||
.mx_RoomHeader_name,
|
||||
.mx_LegacyRoomHeader .mx_LegacyRoomHeader_avatar,
|
||||
.mx_LegacyRoomHeader .mx_E2EIcon,
|
||||
.mx_LegacyRoomHeader .mx_RoomTopic,
|
||||
.mx_LegacyRoomHeader .mx_AccessibleButton {
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user