Closed taneliang closed 4 years ago
This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/mlh-fellowship/scheduling-profiler-prototype/ha3bwg861 ✅ Preview: https://scheduling-profiler-prototype-git-eliang-zoom-to-batch.mlh-fellowship.vercel.app
Closes #84.
Adds a
zoomToRange
method toHorizontalPanAndZoomView
, modeled afterUIScrollView
'szoomToRect:animated:
methodTest Plan
yarn flow
: no new errorsyarn start
:I suspect there's a bug in our batch duration calculation, because the zoom to method often zooms to an empty space. This is not a bug in the zooming: the view is zoomed to a range that matches the batch duration displayed in the tooltip. I'll file an issue for this tomorrow.