Skip to content

Commit

Permalink
Always center the mouse #450
Browse files Browse the repository at this point in the history
  • Loading branch information
ShirosakiMio committed Jul 12, 2024
1 parent 31a6a0c commit daab6c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions FCL/src/main/java/com/tungsten/fcl/control/GameMenu.java
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@ public void onCursorModeChange(int mode) {
if (mode == FCLBridge.CursorEnabled) {
getCursor().setVisibility(View.VISIBLE);
gameItemBar.setVisibility(View.GONE);
getInput().setPointer(AndroidUtils.getScreenWidth(FCLApplication.getCurrentActivity()) / 2, AndroidUtils.getScreenHeight(FCLApplication.getCurrentActivity()) / 2, "Gyro");
} else {
getCursor().setVisibility(View.GONE);
gameItemBar.setVisibility(View.VISIBLE);
Expand Down

0 comments on commit daab6c5

Please sign in to comment.