From 7ea2872cc2969f400c96e0d918c3b7c37662d37a Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 4 Oct 2023 01:03:47 +0200 Subject: [PATCH] When deleting, modulate the entire converter instead of just the front of the sprite --- converters/converter.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/converters/converter.gd b/converters/converter.gd index b7a14f2..7106d2c 100644 --- a/converters/converter.gd +++ b/converters/converter.gd @@ -46,11 +46,11 @@ func _on_timer_timeout(): var is_pending_deletion: bool = false func pending_deletion(): - sprite_front.modulate = Color.RED + modulate = Color.RED is_pending_deletion = true func ending_deletion(): - sprite_front.modulate = Color.WHITE + modulate = Color.WHITE is_pending_deletion = false func _on_input_event(_viewport: Node, event: InputEvent, _shape_idx: int):