mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-09-03 23:25:46 -04:00
help button, scroll with prompt
This commit is contained in:
parent
00fa349440
commit
647b0ca20c
6 changed files with 142 additions and 15 deletions
|
@ -44,7 +44,8 @@ func _input(event: InputEvent) -> void:
|
|||
|
||||
if (event is InputEventMouseButton
|
||||
and not get_global_rect().has_point(event.position)
|
||||
and not prompt_panel.get_global_rect().has_point(event.position)):
|
||||
and not prompt_panel.get_global_rect().has_point(event.position)
|
||||
and not event.button_index in [MOUSE_BUTTON_WHEEL_UP, MOUSE_BUTTON_WHEEL_DOWN]):
|
||||
release_focus()
|
||||
on_release_focus.emit()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue