mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-25 00:54:19 +00:00
When deleting, modulate the entire converter instead of just the front of the sprite
This commit is contained in:
parent
e39cc481e2
commit
7ea2872cc2
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue