diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml new file mode 100644 index 0000000..3063c74 --- /dev/null +++ b/android/AndroidManifest.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/qml/2048-qt/NumberGrid.qml b/qml/2048-qt/NumberGrid.qml index a99f88b..0064e78 100644 --- a/qml/2048-qt/NumberGrid.qml +++ b/qml/2048-qt/NumberGrid.qml @@ -205,11 +205,7 @@ Rectangle { } } - onPressAndHold: { - initX = 0; - initY = 0; - gameMenu.open = !gameMenu.open; - } + onPressAndHold: gameMenu.open = !gameMenu.open; onReleased: { var xdiff, ydiff;