aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/island/Island.qml
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/island/Island.qml')
-rw-r--r--desktop/island/Island.qml13
1 files changed, 1 insertions, 12 deletions
diff --git a/desktop/island/Island.qml b/desktop/island/Island.qml
index d0d0a49..1807c82 100644
--- a/desktop/island/Island.qml
+++ b/desktop/island/Island.qml
@@ -38,7 +38,7 @@ PanelWindow {
WlrLayershell.namespace: "quickshell-island"
WlrLayershell.keyboardFocus: panel !== "" ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
- // "", "sound", "controls", "perf" or "calendar".
+ // "", "sound", "perf" or "calendar".
property string panel: ""
// --- reveal and hide -------------------------------------------------
@@ -64,15 +64,6 @@ PanelWindow {
else if (!hovered) hideTimer.restart();
}
- // The keybind's way in: reveal, and open or close the controls panel.
- // Closing goes through onPanelChanged, which starts the hide timer when
- // the pointer is elsewhere.
- function toggleControls() {
- hideTimer.stop();
- shown = true;
- panel = panel === "controls" ? "" : "controls";
- }
-
Timer {
id: hideTimer
interval: 400
@@ -221,8 +212,6 @@ PanelWindow {
onMenuShown: win.menuHeld = true
onOpenSound: win.panel = win.panel === "sound" ? "" : "sound"
onOpenDrawer: { win.panel = ""; win.drawer.show("sound"); }
- onOpenControls: win.toggleControls()
onOpenPerf: win.panel = win.panel === "perf" ? "" : "perf"
- onOpenPage: page => { win.panel = ""; win.drawer.show(page); }
}
}