help button, scroll with prompt

This commit is contained in:
Nordup 2024-11-25 06:19:17 +04:00
parent 00fa349440
commit 647b0ca20c
6 changed files with 142 additions and 15 deletions

View file

@ -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()