From 14ff54a3d7b67ba4d3fd45e50e510c505840ef46 Mon Sep 17 00:00:00 2001 From: mertmit Date: Mon, 21 Mar 2022 01:58:46 +0300 Subject: [PATCH] fix: selector frame follows zoom properly (#742) --- src/editor/Editor.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/editor/Editor.js b/src/editor/Editor.js index 4c29dc6f..fb346f13 100644 --- a/src/editor/Editor.js +++ b/src/editor/Editor.js @@ -611,6 +611,9 @@ class Editor extends EditorStartup { * @returns {void} */ zoomDone () { + for (const el of this.svgCanvas.selectedElements) { + this.svgCanvas.selectorManager.requestSelector(el).resize() + } this.updateWireFrame() }