From 7a632c9561f95a202b41d0e40373c01fc889dd07 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Sat, 7 Dec 2024 12:39:19 +0100 Subject: [PATCH] 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 --- src/qml/RoomDrawer.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qml/RoomDrawer.qml b/src/qml/RoomDrawer.qml index 7fca60322..8f8039be8 100644 --- a/src/qml/RoomDrawer.qml +++ b/src/qml/RoomDrawer.qml @@ -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