You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ui): animate the explicit camera fits in the graph view
The re-arrange and fit buttons hard-snapped the camera via
snapToVisibleFit() while the auto-fit (scan add / remove, curation
re-fit) glided through runAnimatedFit(). That inconsistency made the
explicit buttons jump instead of glide. Route both explicit fits
through runAnimatedFit() so every camera fit in the view animates pan
and zoom the same way, and drop the now-unused snapToVisibleFit().
computeVisibleFitTransform (the panel-width-aware fit math) is unchanged
and still shared by every fit, so what gets framed is identical; only
the explicit fits now animate.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments