Use PropertyAction instead of NumberAnimation for booleans

android
Loren Burkholder 4 years ago
parent 2c49c188e3
commit e7be12b8a0
  1. 6
      resources/qml/MobileMessageContextPopup.qml

@ -75,10 +75,9 @@ Item {
to: "shown" to: "shown"
SequentialAnimation { SequentialAnimation {
NumberAnimation { PropertyAction {
targets: [popupRoot, popup, overlay] targets: [popupRoot, popup, overlay]
properties: "visible" properties: "visible"
duration: 0
} }
ParallelAnimation { ParallelAnimation {
@ -120,10 +119,9 @@ Item {
} }
} }
NumberAnimation { PropertyAction {
targets: [popupRoot, popup, overlay] targets: [popupRoot, popup, overlay]
properties: "visible" properties: "visible"
duration: 0
} }
} }
} }

Loading…
Cancel
Save