From 1c7015bbd2a379d6539901e88e37c996d9a95f73 Mon Sep 17 00:00:00 2001 From: miruka Date: Wed, 11 Dec 2019 07:53:27 -0400 Subject: [PATCH] Prevent HDrawer from being in front of an HPopup --- src/qml/Base/HDrawer.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/qml/Base/HDrawer.qml b/src/qml/Base/HDrawer.qml index b8dd3570..3829ba95 100644 --- a/src/qml/Base/HDrawer.qml +++ b/src/qml/Base/HDrawer.qml @@ -7,6 +7,10 @@ Drawer { implicitWidth: horizontal ? calculatedSize : parent.width implicitHeight: vertical ? calculatedSize : parent.height + // Prevents this: open a popup, make the window small enough for the + // drawer to collapse, then make it big again → popup is now behind drawer + z: -1 + topPadding: 0 bottomPadding: 0 leftPadding: 0