diff --git a/editor/svg-editor.js b/editor/svg-editor.js index bbb65fd8..0bd3b610 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -617,6 +617,8 @@ function svg_edit_setup() { if (docprops) return; docprops = true; + // update resolution option with actual resolution + // TODO: what if SVG source is changed? var res = svgCanvas.getResolution(); $("#resolution").val(res.w+'x'+res.h).attr("selected", "selected");