From e7be12b8a07723433abb5bf20c81f6a6105a84f9 Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Fri, 2 Apr 2021 22:44:08 -0400 Subject: [PATCH] Use PropertyAction instead of NumberAnimation for booleans --- resources/qml/MobileMessageContextPopup.qml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/resources/qml/MobileMessageContextPopup.qml b/resources/qml/MobileMessageContextPopup.qml index 3f5e92e9..51d9639f 100644 --- a/resources/qml/MobileMessageContextPopup.qml +++ b/resources/qml/MobileMessageContextPopup.qml @@ -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 } } }