#631 seButton web component image path load from config
This commit is contained in:
@@ -364,6 +364,7 @@ export default {
|
||||
svgCanvas.setMode('connector');
|
||||
}
|
||||
});
|
||||
$id('mode_connect').init(svgEditor);
|
||||
},
|
||||
/* async */ addLangData({ _lang }) { // , importLocale: importLoc
|
||||
return {
|
||||
|
||||
@@ -94,6 +94,7 @@ export default {
|
||||
svgCanvas.setMode('eyedropper');
|
||||
}
|
||||
});
|
||||
$id('tool_eyedropper').init(svgEditor);
|
||||
},
|
||||
// if we have selected an element, grab its paint and enable the eye dropper button
|
||||
selectedChanged: getStyle,
|
||||
|
||||
@@ -174,6 +174,7 @@ export default {
|
||||
svgEditor.configObj.curConfig.showGrid = showGrid = !showGrid;
|
||||
gridUpdate();
|
||||
});
|
||||
$id('view_grid').init(svgEditor);
|
||||
if (showGrid) {
|
||||
gridUpdate();
|
||||
}
|
||||
|
||||
@@ -57,6 +57,7 @@ export default {
|
||||
svgCanvas.setMode('ext-panning');
|
||||
}
|
||||
});
|
||||
$id('ext-panning').init(svgEditor);
|
||||
},
|
||||
mouseDown() {
|
||||
if (svgCanvas.getMode() === 'ext-panning') {
|
||||
|
||||
@@ -108,6 +108,8 @@ export default {
|
||||
showPanel(false, "star");
|
||||
}
|
||||
});
|
||||
$id("tool_star").init(svgEditor);
|
||||
$id("tool_polygon").init(svgEditor);
|
||||
|
||||
const label0 = `${name}:contextTools.0.label`;
|
||||
const title0 = `${name}:contextTools.0.title`;
|
||||
|
||||
Reference in New Issue
Block a user