on xenial help sign in
Rewrite the if
commit1ee72414f817b9fd284b3f8203314095ad49092b authorAndrea Cimitan <andrea.cimitan@canonical.com> dateFri 23 Aug 2013, 17:04 (13 years ago) parent4880a7d
1 file changed+4−2
Bottombar/Bottombar.qml+4−2
Bottombar/Bottombar.qml+4−2
@@ -126,8 +126,10 @@ Item {
126126 hudButton.clicked()
127127 }
128128 }
129− } else if (status === DirectionalDragArea.Undecided && !hudButton.centeredHud) {
130− touchStartX = touchX
129+ } else if (status === DirectionalDragArea.Undecided) {
130+ if (!hudButton.centeredHud) {
131+ touchStartX = touchX
132+ }
131133 } else if (status === DirectionalDragArea.Recognized) {
132134 bottombar.state = "shown"
133135 }