diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-12-21 14:15:11 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-12-21 14:15:11 +0100 |
commit | 5b35174ffab42f0331f1a6527ef6bbab7a3dbdcb (patch) | |
tree | 071530353b02f45fffc26aa4b0f43f7b901b3046 /UI/Camera.gd | |
parent | a854a1862a30632e49520f6e1e11333d5c8ff241 (diff) |
Diffstat (limited to 'UI/Camera.gd')
-rw-r--r-- | UI/Camera.gd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/UI/Camera.gd b/UI/Camera.gd index 1fd9361..34e194c 100644 --- a/UI/Camera.gd +++ b/UI/Camera.gd @@ -63,7 +63,8 @@ func _input(event): Input.set_default_cursor_shape(Input.CURSOR_MOVE) elif event.is_action_released("camera_drag"): is_in_drag_mode = false - Input.set_default_cursor_shape(Input.CURSOR_ARROW) + if Input.get_current_cursor_shape() == Input.CURSOR_MOVE: + Input.set_default_cursor_shape(Input.CURSOR_ARROW) if event is InputEventMouseMotion: |