mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-23 05:52:42 -05:00
Fix incorrect crosshair size after zoom to fit
This commit is contained in:
parent
21f2b489d0
commit
18fa1e2b61
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ const zoomToFit = isBitmap => {
|
|||
if (ratio < 1) {
|
||||
paper.view.center = bounds.center;
|
||||
paper.view.zoom = paper.view.zoom / ratio;
|
||||
_resizeCrosshair();
|
||||
clampViewBounds();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue