@@ -185,7 +185,7 @@
-
@@ -257,7 +257,7 @@
Helvetica
Times
-
@@ -347,7 +347,7 @@
-
+
—
...
@@ -365,7 +365,7 @@
-
+
diff --git a/src/svgcanvas/undo.js b/src/svgcanvas/undo.js
index 27e95f04..9852190e 100644
--- a/src/svgcanvas/undo.js
+++ b/src/svgcanvas/undo.js
@@ -190,6 +190,8 @@ export const changeSelectedAttributeNoUndoMethod = function (attr, newValue, ele
setHref(elem, newValue);
} else if (newValue) {
elem.setAttribute(attr, newValue);
+ } else if (typeof newValue === 'number') {
+ elem.setAttribute(attr, newValue);
} else {
elem.removeAttribute(attr);
}