Skip to content

Commit

Permalink
Remove left over logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisl8 committed Jan 2, 2024
1 parent 89b2b66 commit add08b4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions toast/toast.gd
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,12 @@ func _ready() -> void:


func display() -> void:
Helpers.log_print("display()")
animation.play("toast_animations/start")
animation.animation_finished.connect(_animation_ended)
visible = true


func _animation_ended(which_animation: String) -> void:
Helpers.log_print(which_animation)
if which_animation == "toast_animations/start":
await get_tree().create_timer(toast_duration).timeout
animation.play("toast_animations/end")
Expand Down

0 comments on commit add08b4

Please sign in to comment.