mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-24 11:17:26 -04:00
gate not responding popup
This commit is contained in:
parent
4fc2d7aeb9
commit
08708f2b59
14 changed files with 205 additions and 13 deletions
|
@ -29,10 +29,12 @@ func on_ui_mode_changed(mode: UiEvents.UiMode) -> void:
|
|||
should_send = mode == UiEvents.UiMode.FULL_SCREEN
|
||||
|
||||
|
||||
func _input(event: InputEvent) -> void:
|
||||
func _input(_event: InputEvent) -> void:
|
||||
if input_sync == null or not should_send: return
|
||||
|
||||
var event = _event
|
||||
if event is InputEventMouse:
|
||||
event = _event.duplicate()
|
||||
event.position = get_scaled_mouse_pos(event.position)
|
||||
event.global_position = get_scaled_mouse_pos(event.global_position)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue