From fe29cffb6004150b57c67a8fcfd249e9cc5b680a Mon Sep 17 00:00:00 2001 From: reionwong Date: Sun, 1 Aug 2021 04:35:42 +0800 Subject: [PATCH] Fix toggle control dialog animation --- qml/StandardItem.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qml/StandardItem.qml b/qml/StandardItem.qml index ca70525..71d99d6 100644 --- a/qml/StandardItem.qml +++ b/qml/StandardItem.qml @@ -53,6 +53,9 @@ Item { if (checked) return + _bgRect.width = 0 + _bgRect.height = 0 + _bgRect.x = mouseX _bgRect.y = mouseY _bgRect.state = "shown"