bug rotation bug

master
Mark MacKay 2021-04-30 12:21:56 -05:00
parent 1f8231192e
commit 7654149369
2 changed files with 1 additions and 2 deletions

View File

@ -92,7 +92,6 @@ MD.Import = function(){
function openImage(e){
const f = this;
if(f.files.length === 1) {
console.log("clear")
svgCanvas.clear();
var reader = new FileReader();
reader.onloadend = function(e) {

View File

@ -581,7 +581,7 @@ svgedit.history.UndoManager.prototype.beginUndoableChange = function(attrName, e
svgedit.history.UndoManager.prototype.finishUndoableChange = function() {
var p = this.undoChangeStackPointer--;
var changeset = this.undoableChangeStack[p];
var i = changeset['elements'].length;
var i = changeset['elements'].filter(Boolean).length;
var attrName = changeset['attrName'];
var batchCmd = new svgedit.history.BatchCommand("Change " + attrName);
while (i--) {