Adjust Aurorae Menu Button close behavior to KCommonDecoration
See 27b667f49562963ea3f13d5b9dd56ff846feb75a
This commit is contained in:
parent
292ceee506
commit
2b2976aa20
1 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,7 @@ DecorationButton {
|
|||
}
|
||||
Timer {
|
||||
id: timer
|
||||
interval: decoration.doubleClickInterval
|
||||
interval: 150
|
||||
repeat: false
|
||||
onTriggered: decoration.menuClicked()
|
||||
}
|
||||
|
@ -46,6 +46,7 @@ DecorationButton {
|
|||
}
|
||||
onReleased: {
|
||||
parent.pressed = false;
|
||||
timer.stop();
|
||||
}
|
||||
onExited: {
|
||||
if (!parent.pressed) {
|
||||
|
|
Loading…
Reference in a new issue