mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +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
|
||||
|
||||
function lockKeyPressed(id) {
|
||||
hideTimer.restart();
|
||||
hideTimer.stop();
|
||||
console.log(id);
|
||||
}
|
||||
|
||||
function lockKeyReleased(id) {
|
||||
hideTimer.restart();
|
||||
hideTimer.start();
|
||||
console.log(id);
|
||||
}
|
||||
|
||||
|
|
@ -49,7 +49,7 @@ Leaves {
|
|||
}
|
||||
|
||||
// onPositionChanged: {
|
||||
// stripe.lockKeyReleased(stripe.childAt(mouseX, mouseY).value);
|
||||
// hideTimer.restart();
|
||||
// }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue