Commit 5f99bd3
committed
iOS: fix gym timer jitter and position jump
- Ring no longer stutters: it updated ~33x/sec but had a 0.1s animation, so each
update fought the previous one. Removed the animation so it tracks smoothly.
- Clock no longer jumps when the ROUND row appears: reserve a fixed-height area
for it so the layout never reflows between countdown and work.
- Zero-pad the clock to MM:SS so the centered number keeps constant width across
minute rollovers (also reads like a proper digital wall clock). Calmed the
number transition from a spring to an eased fade.1 parent 94e1a9c commit 5f99bd3
1 file changed
Lines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | | - | |
| 55 | + | |
57 | 56 | | |
58 | 57 | | |
59 | | - | |
| 58 | + | |
60 | 59 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
164 | | - | |
| 166 | + | |
165 | 167 | | |
0 commit comments