Only set x if different than the value we want
Otherwise it seems the onRunningChanged of the UbuntuNumberAnimation of the Behavior on x is triggered and that is unwanted
commit17117538f9a674f5d92aac145a4644b678e72824
authorAlbert Astals <albert.astals@canonical.com>
dateMon 24 Mar 2014, 13:36 (13 years ago)
parenta64560c
qml/Dash/Dash.qml+3−1
@@ -53,7 +53,9 @@ Showable {
5353 }
5454
5555 function closeOverlayScope() {
56− dashContent.x = 0;
56+ if (dashContent.x != 0) {
57+ dashContent.x = 0;
58+ }
5759 }
5860
5961 SortFilterProxyModel {