mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
Update Previews on all mouse events
This commit is contained in:
parent
bdd06d42ce
commit
791e966a71
|
@ -1,7 +1,7 @@
|
|||
extends Node2D
|
||||
|
||||
func _input(event : InputEvent) -> void:
|
||||
if Global.has_focus and event is InputEventMouseMotion:
|
||||
if Global.has_focus and event is InputEventMouse:
|
||||
update()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue