fix minimap colors
This commit is contained in:
parent
57d47c5eed
commit
63ea78592a
10 changed files with 155 additions and 92 deletions
|
@ -44,8 +44,8 @@ func _unhandled_input(event):
|
|||
camera_zoom_in()
|
||||
if event.is_action_pressed("camera_zoom_out"):
|
||||
camera_zoom_out()
|
||||
|
||||
if event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT:
|
||||
|
||||
if event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT:
|
||||
if !is_panning_camera and event.pressed:
|
||||
is_panning_camera = true
|
||||
if is_panning_camera and !event.pressed:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue