on xenial help sign in
Splash: stop the waiting dots if component invisible, also disable the mousearea
a94d59cGerry Boland
qml/Stages/Splash.qml+2
@@ -54,6 +54,7 @@ Rectangle {
54 }
54 }
55
55
56 WaitingDots {
56 WaitingDots {
57+ visible: parent.visible
57 anchors.horizontalCenter: parent.horizontalCenter
58 anchors.horizontalCenter: parent.horizontalCenter
58 anchors.bottom: parent.bottom
59 anchors.bottom: parent.bottom
59 anchors.bottomMargin: units.gu(12)
60 anchors.bottomMargin: units.gu(12)
@@ -61,6 +62,7 @@ Rectangle {
61
62
62 MouseArea {
63 MouseArea {
63 anchors.fill: parent
64 anchors.fill: parent
65+ enabled: parent.visible
64 // absorb all mouse events
66 // absorb all mouse events
65 }
67 }
66}
68}