From 18fa1e2b61accd3c39a4744ea9213bcc77132de4 Mon Sep 17 00:00:00 2001 From: DD Liu Date: Wed, 29 Jan 2020 20:56:43 -0500 Subject: [PATCH] Fix incorrect crosshair size after zoom to fit --- src/helper/view.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/helper/view.js b/src/helper/view.js index b2bbd112..0e480c3f 100644 --- a/src/helper/view.js +++ b/src/helper/view.js @@ -105,6 +105,7 @@ const zoomToFit = isBitmap => { if (ratio < 1) { paper.view.center = bounds.center; paper.view.zoom = paper.view.zoom / ratio; + _resizeCrosshair(); clampViewBounds(); } }