Draggable2D _on_mouse_exited
This commit is contained in:
parent
f9801e4b6f
commit
efa95b3236
@ -156,3 +156,8 @@ func _toggle_outline(display = true):
|
|||||||
tween.tween_property(sprite.material, "shader_parameter/thickness", 1.0, 0.2)
|
tween.tween_property(sprite.material, "shader_parameter/thickness", 1.0, 0.2)
|
||||||
else:
|
else:
|
||||||
tween.tween_property(sprite.material, "shader_parameter/thickness", 0.0, 0.2)
|
tween.tween_property(sprite.material, "shader_parameter/thickness", 0.0, 0.2)
|
||||||
|
|
||||||
|
|
||||||
|
func _exit_tree() -> void:
|
||||||
|
if touching:
|
||||||
|
_on_mouse_exited()
|
Loading…
Reference in New Issue
Block a user