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