on xenial help sign in
Rewrite the if
1ee7241Andrea Cimitan
Bottombar/Bottombar.qml+4−2
@@ -126,8 +126,10 @@ Item {
126 hudButton.clicked()
126 hudButton.clicked()
127 }
127 }
128 }
128 }
129− } else if (status === DirectionalDragArea.Undecided && !hudButton.centeredHud) {
129+ } else if (status === DirectionalDragArea.Undecided) {
130+ if (!hudButton.centeredHud) {
130− touchStartX = touchX
131+ touchStartX = touchX
132+ }
131 } else if (status === DirectionalDragArea.Recognized) {
133 } else if (status === DirectionalDragArea.Recognized) {
132 bottombar.state = "shown"
134 bottombar.state = "shown"
133 }
135 }