diff --git a/editor/images/svg_edit_icons.svg b/editor/images/svg_edit_icons.svg index 1123591b..6b2609ed 100644 --- a/editor/images/svg_edit_icons.svg +++ b/editor/images/svg_edit_icons.svg @@ -159,6 +159,13 @@ + + + + + + + @@ -304,6 +311,90 @@ + + + + + Layer 1 + + + + + + + + + + + + + + + + + + + Layer 1 + + + + + + + + + + + + + + + Layer 1 + + + + + + + + + + + + + + + Layer 1 + + + + + + + + + + + + + + + + + + + + Layer 1 + + + + + + + + + + \ No newline at end of file diff --git a/editor/svg-editor-svgicons.html b/editor/svg-editor-svgicons.html index 3f71c6df..29ebc7e0 100644 --- a/editor/svg-editor-svgicons.html +++ b/editor/svg-editor-svgicons.html @@ -17,8 +17,8 @@ - - + + @@ -125,11 +314,11 @@ script type="text/javascript" src="locale/locale.min.js">

Layers

- New Layer - Delete Layer - Rename Layer - Move Layer up - Move Layer Down +
+
+
+
+
@@ -175,10 +364,10 @@ script type="text/javascript" src="locale/locale.min.js">
|
- Delete +
| - Top - Bottom +
+
| @@ -204,7 +393,7 @@ script type="text/javascript" src="locale/locale.min.js">
|
- Delete +
| Group
@@ -297,8 +486,8 @@ script type="text/javascript" src="locale/locale.min.js"> - Bold - Italic +
B
+
i
- Delete +
@@ -462,7 +651,15 @@ script type="text/javascript" src="locale/locale.min.js"> - + + +
+ Icon size +
diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index b69fd46f..a5cd1fdb 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -4964,8 +4964,8 @@ function BatchCommand(text) { // if undoable is not sent, default to true // if single values, scale them to the zoom if (dx.constructor != Array) { - dx *= current_zoom; - dy *= current_zoom; + dx /= current_zoom; + dy /= current_zoom; } var undoable = undoable || true; var batchCmd = new BatchCommand("position");