Skip to content

Commit

Permalink
Ensure resetting timer
Browse files Browse the repository at this point in the history
GitHub: fix GH-158

We need to reload theme after we reset timer because timer/image-timer
themes needs to re-start timer.

Reported by Kingdon Barrett. Thanks!!!
  • Loading branch information
kou committed Sep 13, 2023
1 parent a2b220b commit a60f2bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rabbit/canvas.rb
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,7 @@ def rest_time

def reset_timer
@limit_time = nil
reload_theme
end

def apply_timer
Expand Down

0 comments on commit a60f2bd

Please sign in to comment.