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:
parent
d685177918
commit
b4384f4085
|
@ -60,6 +60,7 @@ func _ready() -> void:
|
|||
|
||||
|
||||
func _input(event: InputEvent) -> void:
|
||||
get_window().gui_release_focus()
|
||||
if !Global.can_draw:
|
||||
drag = false
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue