mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-26 06:14:45 +00:00
better hiding prevention
This commit is contained in:
parent
c071043cc0
commit
3380134a97
1 changed files with 3 additions and 3 deletions
|
|
@ -22,12 +22,12 @@ Leaves {
|
||||||
opacity: 0
|
opacity: 0
|
||||||
|
|
||||||
function lockKeyPressed(id) {
|
function lockKeyPressed(id) {
|
||||||
hideTimer.restart();
|
hideTimer.stop();
|
||||||
console.log(id);
|
console.log(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
function lockKeyReleased(id) {
|
function lockKeyReleased(id) {
|
||||||
hideTimer.restart();
|
hideTimer.start();
|
||||||
console.log(id);
|
console.log(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -49,7 +49,7 @@ Leaves {
|
||||||
}
|
}
|
||||||
|
|
||||||
// onPositionChanged: {
|
// onPositionChanged: {
|
||||||
// stripe.lockKeyReleased(stripe.childAt(mouseX, mouseY).value);
|
// hideTimer.restart();
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue