From b68273e7677161d1010f99d3a79bd5fb52e2ce03 Mon Sep 17 00:00:00 2001 From: Sheldon Smith Date: Sun, 5 Apr 2026 09:39:59 -0400 Subject: [PATCH] fix: enter coarse edit mode when clock is at preset, not just when never started Previously the coarse-grained edit mode (60s steps, saves new default) was gated on game_clock_ever_started() == false. Now it activates whenever the current time equals the default, which is the more intuitive condition for 'clock is at its starting point'. --- src/c/ref-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c/ref-timer.c b/src/c/ref-timer.c index e6b8dd5..349dbe5 100644 --- a/src/c/ref-timer.c +++ b/src/c/ref-timer.c @@ -97,7 +97,7 @@ static void prv_select_long_press_handler(ClickRecognizerRef r, void *ctx) { game_clock_reset_to_default(); return; } - game_clock_enter_edit_mode(game_clock_ever_started()); + game_clock_enter_edit_mode(game_clock_get_total_seconds() != game_clock_get_default_seconds()); } static void prv_back_handler(ClickRecognizerRef r, void *ctx) {