Skip to content

Commit e4d49a6

Browse files
committed
Target API 35
1 parent 5ecc837 commit e4d49a6

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ plugins {
44
}
55

66
android {
7-
compileSdk 34
7+
compileSdk 35
88
namespace "com.bytehamster.flowitgame"
99

1010
defaultConfig {
1111
applicationId "com.bytehamster.flowitgame"
1212
minSdk 14
13-
targetSdk 34
13+
targetSdk 35
1414
versionCode 401
1515
versionName "4.1"
1616
}

app/src/main/java/com/bytehamster/flowitgame/Main.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public boolean onKeyDown(int keyCode, KeyEvent event) {
8989

9090
public boolean onTouchEvent(MotionEvent event) {
9191
if (currentState != null) {
92+
event.offsetLocation(-glSurfaceView.getX(), -glSurfaceView.getY());
9293
currentState.onTouchEvent(event);
9394
switchState();
9495
}

app/src/main/res/layout/main.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
android:layout_width="match_parent"
44
android:layout_height="match_parent"
5+
android:fitsSystemWindows="true"
6+
android:background="#c6c6c6"
57
android:orientation="vertical">
68

79
<com.bytehamster.flowitgame.MyGLSurfaceView

0 commit comments

Comments
 (0)