Breaking zshell: toggle-launcher globalshortcut fix
This commit is contained in:
@@ -14,11 +14,12 @@ Scope {
|
|||||||
description: "Toggle launcher"
|
description: "Toggle launcher"
|
||||||
name: "toggle-launcher"
|
name: "toggle-launcher"
|
||||||
|
|
||||||
onPressed: root.launcherInterrupted = false
|
onPressed: {
|
||||||
onReleased: {
|
root.launcherInterrupted = false;
|
||||||
if (!root.launcherInterrupted && !root.hasFullscreen) {
|
if (!root.launcherInterrupted && !root.hasFullscreen) {
|
||||||
const visibilities = Visibilities.getForActive();
|
const visibilities = Visibilities.getForActive();
|
||||||
visibilities.launcher = !visibilities.launcher;
|
visibilities.launcher = !visibilities.launcher;
|
||||||
|
console.log(root.launcherInterrupted);
|
||||||
}
|
}
|
||||||
root.launcherInterrupted = false;
|
root.launcherInterrupted = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user