mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23: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
|
||||
Behavior on brightnessPressedValue {
|
||||
NumberAnimation {
|
||||
duration: Kirigami.Units.longDuration
|
||||
easing.type: Easing.OutQuad
|
||||
duration: Kirigami.Units.longDuration * 2
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -77,7 +77,7 @@ Item {
|
|||
|
||||
Timer {
|
||||
id: brightnessPressedTimer
|
||||
interval: 200
|
||||
interval: 100
|
||||
repeat: false
|
||||
onTriggered: {
|
||||
if (brightnessSlider.pressed) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue