1
0
Fork 0
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:
Manolis Papadeas 2021-06-14 19:21:58 +03:00
parent bdd06d42ce
commit 791e966a71

View file

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