#631 main menu image path update changes
This commit is contained in:
@@ -530,6 +530,7 @@ export default {
|
||||
$id('tool_imagelib').addEventListener("click", () => {
|
||||
showBrowser();
|
||||
});
|
||||
$id('tool_imagelib').init(svgEditor);
|
||||
|
||||
const style = document.createElement('style');
|
||||
style.textContent = '#imgbrowse_holder {' +
|
||||
|
||||
@@ -174,6 +174,9 @@ export default {
|
||||
$id("tool_open").addEventListener("click", clickOpen.bind(this));
|
||||
$id("tool_save").addEventListener("click", clickSave.bind(this, "save"));
|
||||
$id("tool_save_as").addEventListener("click", clickSave.bind(this, "saveas"));
|
||||
[ "tool_clear", "tool_open", "tool_save", "tool_save_as" ].forEach((attrId) =>
|
||||
$id(attrId).init(svgEditor)
|
||||
);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user