better hiding prevention

This commit is contained in:
Aaron Seigo 2014-08-20 11:51:00 +02:00
parent c071043cc0
commit 3380134a97

View file

@ -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();
// } // }
} }