]> git.earman.xyz Git - sensor-watch.git/commitdiff
don't resign from tomato time if timer is running
authorWesley Ellis <tahnok@gmail.com>
Sat, 7 Mar 2026 21:53:48 +0000 (16:53 -0500)
committerWesley Ellis <tahnok@gmail.com>
Sat, 7 Mar 2026 21:53:48 +0000 (16:53 -0500)
watch-faces/complication/tomato_face.c

index 321e5deadbd2ade657633570879a7cfbfc23d58c..7c419d5584e5dc90fa5a67b5b9e406cc8ebc81e5 100644 (file)
@@ -169,7 +169,9 @@ bool tomato_face_loop(movement_event_t event, void *context) {
             tomato_draw(state);
             break;
         case EVENT_TIMEOUT:
-            movement_move_to_face(0);
+            if (state->mode != tomato_run) {
+                movement_move_to_face(0);
+            }
             break;
         default:
             movement_default_loop_handler(event);