1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 09:09:47 +00:00

When using the canvas, release focus of other GUI elements of the application

This commit is contained in:
Emmanouil Papadeas 2024-07-13 20:38:29 +03:00
parent d685177918
commit b4384f4085

View file

@ -60,6 +60,7 @@ func _ready() -> void:
func _input(event: InputEvent) -> void:
get_window().gui_release_focus()
if !Global.can_draw:
drag = false
return