Fix janky behavior of room drawer swipes

When not modal, dragging the edge of the room drawer to change its width felt very broken.
This seems to be a collision between Qt's dragging logic and our dragging logic,
so we disable theirs if the drawer is not modal
This commit is contained in:
Tobias Fella
2024-12-07 12:39:19 +01:00
parent ec4b35fa5f
commit 7a632c9561

View File

@@ -19,6 +19,7 @@ Kirigami.OverlayDrawer {
required property NeoChatConnection connection
width: actualWidth
interactive: modal
readonly property int minWidth: Kirigami.Units.gridUnit * 15
readonly property int maxWidth: Kirigami.Units.gridUnit * 25