Skip to content

Commit

Permalink
Merge pull request #1193 from vector-im/germain-gg/room-header-no-dra…
Browse files Browse the repository at this point in the history
…g-zone
  • Loading branch information
Johennes authored Sep 5, 2023
2 parents 724c545 + bae8b58 commit 2c62efa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/macos-titlebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ export function setupMacosTitleBar(window: BrowserWindow): void {
-webkit-app-region: drag;
}
/* Exclude header interactive elements from being drag handles */
.mx_RoomHeader .mx_DecoratedRoomAvatar,
.mx_RoomHeader_name,
.mx_RoomHeader .mx_BaseAvatar,
.mx_RoomHeader_heading,
.mx_RoomHeader button,
.mx_RoomHeader .mx_FacePile,
.mx_LegacyRoomHeader .mx_LegacyRoomHeader_avatar,
.mx_LegacyRoomHeader .mx_E2EIcon,
.mx_LegacyRoomHeader .mx_RoomTopic,
Expand Down

0 comments on commit 2c62efa

Please sign in to comment.