mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 19:38:48 +03:00
Use PropertyAction instead of NumberAnimation for booleans
This commit is contained in:
parent
2c49c188e3
commit
e7be12b8a0
1 changed files with 2 additions and 4 deletions
|
@ -75,10 +75,9 @@ Item {
|
|||
to: "shown"
|
||||
|
||||
SequentialAnimation {
|
||||
NumberAnimation {
|
||||
PropertyAction {
|
||||
targets: [popupRoot, popup, overlay]
|
||||
properties: "visible"
|
||||
duration: 0
|
||||
}
|
||||
|
||||
ParallelAnimation {
|
||||
|
@ -120,10 +119,9 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
NumberAnimation {
|
||||
PropertyAction {
|
||||
targets: [popupRoot, popup, overlay]
|
||||
properties: "visible"
|
||||
duration: 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue