improve ui
This commit is contained in:
@@ -48,9 +48,9 @@ func disable_photo_mode() -> void:
|
||||
func _input(event: InputEvent) -> void:
|
||||
if event.is_action_pressed("toggle_photo_mode"):
|
||||
if not is_active:
|
||||
enable_photo_mode()
|
||||
GameState.on_enable_photo_mode_request.emit()
|
||||
else:
|
||||
disable_photo_mode()
|
||||
GameState.on_disable_photo_mode_request.emit()
|
||||
|
||||
if event is InputEventMouseMotion and is_active:
|
||||
total_yaw -= event.relative.x * rotation_speed
|
||||
|
||||
Reference in New Issue
Block a user