summaryrefslogtreecommitdiff
path: root/gui/components/StatusBox.qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-12-08 22:23:46 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-12-09 21:14:52 +0100
commit4fd7c1a92e3c16b300997e2cbd82ae3cdd6279ec (patch)
tree389bbf99489a5391e5b858bee30e05bff0727c61 /gui/components/StatusBox.qml
parentca3f128194888e30aadc149eb40a1370931eb2eb (diff)
[bug] alternative drawer implementation
this is an attempt to solve the problem we're having with snaps, in which Overlays are not correctly displayed.
Diffstat (limited to 'gui/components/StatusBox.qml')
-rw-r--r--gui/components/StatusBox.qml8
1 files changed, 7 insertions, 1 deletions
diff --git a/gui/components/StatusBox.qml b/gui/components/StatusBox.qml
index 23fc271..bfcc175 100644
--- a/gui/components/StatusBox.qml
+++ b/gui/components/StatusBox.qml
@@ -55,11 +55,14 @@ Item {
cursorShape: Qt.PointingHandCursor
}
onClicked: {
+ settingsDrawer.toggle()
+ /*
if (stackView.depth > 1) {
stackView.pop()
} else {
- settingsDrawer.open()
+ settingsDrawer.toggle()
}
+ */
}
Icon {
@@ -67,8 +70,11 @@ Item {
width: 16
height: 16
anchors.centerIn: settingsButton
+ source: "../resources/gear-fill.svg"
+ /*
source: stackView.depth
> 1 ? "../resources/arrow-left.svg" : "../resources/gear-fill.svg"
+ */
}
}