mirror of
https://invent.kde.org/marcoa/a-la-karte.git
synced 2026-03-27 01:03:09 +00:00
fix: fadeOut starts from current opacity, not hardcoded 1.0
Removes 'from: 1' so if Back is pressed while fadeIn is mid-play the fade-out starts from the actual current opacity instead of jumping to 1.
This commit is contained in:
parent
aa0b5ca799
commit
53c098d54c
1 changed files with 1 additions and 1 deletions
|
|
@ -386,7 +386,7 @@ Item {
|
||||||
id: fadeOut
|
id: fadeOut
|
||||||
target: detailRoot
|
target: detailRoot
|
||||||
property: "opacity"
|
property: "opacity"
|
||||||
from: 1; to: 0
|
to: 0
|
||||||
duration: 160
|
duration: 160
|
||||||
easing.type: Easing.InCubic
|
easing.type: Easing.InCubic
|
||||||
onStopped: {
|
onStopped: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue