Skip to content

Commit

Permalink
old code uncommented #726
Browse files Browse the repository at this point in the history
  • Loading branch information
umut-er committed Jul 4, 2024
1 parent a3a52a1 commit 25612fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/js/app-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -841,10 +841,10 @@ module.exports = function() {

var bgObj = chiseInstance.elementUtilities.getBackgroundImageObjs(cy.nodes());
chiseInstance.removeBackgroundImage(cy.nodes(), bgObj);
// if(nodeClass in chiseInstance.elementUtilities.getDefaultProperties()){
// chiseInstance.undoRedoActionFunctions.setDefaultProperty({class: nodeClass, name: 'background-image', value: ''});
// chiseInstance.undoRedoActionFunctions.setDefaultProperty({class: nodeClass, name: 'background-color', value: classBgColor});
// }
if(nodeClass in chiseInstance.elementUtilities.getDefaultProperties()){
chiseInstance.undoRedoActionFunctions.setDefaultProperty({class: nodeClass, name: 'background-image', value: ''});
chiseInstance.undoRedoActionFunctions.setDefaultProperty({class: nodeClass, name: 'background-color', value: classBgColor});
}
}
}

Expand Down

0 comments on commit 25612fc

Please sign in to comment.