change confined to hidden
This commit is contained in:
parent
9fca8b9687
commit
05f2a657f3
@ -46,7 +46,7 @@ func _input(event: InputEvent) -> void:
|
|||||||
if mode == Mode.KB_MOUSE and event_mode == Mode.CONTROLLER:
|
if mode == Mode.KB_MOUSE and event_mode == Mode.CONTROLLER:
|
||||||
mode = Mode.CONTROLLER
|
mode = Mode.CONTROLLER
|
||||||
mode_changed.emit(mode)
|
mode_changed.emit(mode)
|
||||||
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|
Input.mouse_mode = Input.MOUSE_MODE_HIDDEN
|
||||||
|
|
||||||
if mode == Mode.CONTROLLER and event_mode == Mode.KB_MOUSE:
|
if mode == Mode.CONTROLLER and event_mode == Mode.KB_MOUSE:
|
||||||
mode = Mode.KB_MOUSE
|
mode = Mode.KB_MOUSE
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user