Commit e92e3e3
fix(zoom): auto-placed zoom regions follow the cursor for their whole span
Auto zoom regions (created by the magic-wand cursor-dwell suggestion pass)
were built with focusMode left undefined unless the separate, global
"Auto Focus All" toggle was on. That meant the pan/zoom used the static
dwell-centroid focus captured at suggestion time and never tracked the
cursor afterward, even though the cursor-follow interpolation logic
(zoomRegionUtils/cursorFollowUtils) already existed and just wasn't wired
up by default for these regions.
Auto-suggested regions now always get focusMode "auto" so they pan to
track the cursor telemetry across their whole span, independent of the
"Auto Focus All" toggle (which still only controls the default for
manually-drawn zoom regions).
Fixes #72
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent d5966ed commit e92e3e3
2 files changed
Lines changed: 66 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1136 | 1136 | | |
1137 | 1137 | | |
1138 | 1138 | | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
1139 | 1144 | | |
1140 | 1145 | | |
1141 | 1146 | | |
| |||
1152 | 1157 | | |
1153 | 1158 | | |
1154 | 1159 | | |
1155 | | - | |
| 1160 | + | |
1156 | 1161 | | |
1157 | 1162 | | |
1158 | 1163 | | |
1159 | | - | |
| 1164 | + | |
1160 | 1165 | | |
1161 | 1166 | | |
1162 | 1167 | | |
| |||
Lines changed: 59 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
0 commit comments