mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-23 17:17:31 -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)
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ extends Node
|
|||
# Timeout interval for child process responsiveness
|
||||
const BOOTUP_INTERVAL = 30
|
||||
const HEARTBEAT_INTERVAL = 5
|
||||
const WAIT_INTERVAL = 30
|
||||
const WAIT_INTERVAL = 20
|
||||
|
||||
var timer: Timer
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue