mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
ActionDrawer/BrightnessItem: Brightness Slider Animation Adjustments
Brightness slider animation adjustments.
This commit is contained in:
parent
d9495bc714
commit
8065a98113
1 changed files with 3 additions and 3 deletions
|
|
@ -22,8 +22,8 @@ Item {
|
||||||
property double brightnessPressedValue: 1
|
property double brightnessPressedValue: 1
|
||||||
Behavior on brightnessPressedValue {
|
Behavior on brightnessPressedValue {
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
duration: Kirigami.Units.longDuration
|
duration: Kirigami.Units.longDuration * 2
|
||||||
easing.type: Easing.OutQuad
|
easing.type: Easing.InOutQuad
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -77,7 +77,7 @@ Item {
|
||||||
|
|
||||||
Timer {
|
Timer {
|
||||||
id: brightnessPressedTimer
|
id: brightnessPressedTimer
|
||||||
interval: 200
|
interval: 100
|
||||||
repeat: false
|
repeat: false
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
if (brightnessSlider.pressed) {
|
if (brightnessSlider.pressed) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue