mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Fix Global.can_draw being set to true all the time
Note for the future, perhaps using _unhandled_input() might remove the need of this variable.
This commit is contained in:
parent
561a374cc0
commit
bec7ceb974
|
@ -55,7 +55,6 @@ func _input(event: InputEvent) -> void:
|
|||
var ri: ReferenceImage = Global.current_project.get_current_reference_image()
|
||||
|
||||
if !ri:
|
||||
Global.can_draw = true
|
||||
return
|
||||
|
||||
# Check if want to cancelthe reference transform
|
||||
|
|
Loading…
Reference in a new issue