refactor to class step 1
This commit is contained in:
@@ -26,7 +26,7 @@ export default {
|
||||
const strings = await loadExtensionTranslation(svgEditor.pref('lang'));
|
||||
const {$, ChangeElementCommand} = S, // , svgcontent,
|
||||
// svgdoc = S.svgroot.parentNode.ownerDocument,
|
||||
svgCanvas = svgEditor.canvas,
|
||||
{svgCanvas} = svgEditor,
|
||||
addToHistory = function (cmd) { svgCanvas.undoMgr.addCommandToHistory(cmd); },
|
||||
currentStyle = {
|
||||
fillPaint: 'red', fillOpacity: 1.0,
|
||||
|
||||
Reference in New Issue
Block a user