bug rotation bug
parent
1f8231192e
commit
7654149369
|
@ -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) {
|
||||
|
|
|
@ -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--) {
|
||||
|
|
Loading…
Reference in New Issue