Bridge guidance overlay position to crop tool initial coordinates so the
crop box appears centered matching the viewfinder guide. Increase handle
touch targets to 44px (32px on compact viewports) for mobile usability.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
The retake button failed because the stream tracks could become inactive
during the crop phase, but handleRetake never re-acquired the camera.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes #123
Summary
initialCropis provided, skip the draw step and show the crop with handles immediatelygetInitialCropForGuidance()utility that derives centered crop coordinates from existingGUIDANCE_CONFIGSChanges
types.tsinitialCroptoCropToolProps, addgetInitialCropForGuidance()withclampPct()CameraCapture.tsxcropInitialAreatoCropToolCropTool.tsxinitialCrop, responsive handle sizing viauseMediaQueryuseImageCrop.tscropDrawn = truewheninitialCropprovided (skip draw step)getInitialCropForGuidance.test.tsTest Plan
npm run type-checkpasses (0 errors)npm run lintpasses (0 errors, 1 pre-existing warning)npm testpasses (26 tests, including 5 new)