Merge branch 'master' of https://github.com/SVG-Edit/svgedit into issues/631

This commit is contained in:
agriyadev5
2021-09-21 14:17:27 +05:30
30 changed files with 301 additions and 352 deletions

View File

@@ -120,7 +120,6 @@ class MainMenu {
this.editor.configObj.curConfig.snappingStep = gridsnappingstep;
this.editor.configObj.curConfig.gridColor = gridcolor;
this.editor.configObj.curConfig.showRulers = showrulers;
$id('rulers').style.display = (this.editor.configObj.curConfig.showRulers) ? 'block' : 'none';
if (this.editor.configObj.curConfig.showRulers) {
this.editor.rulers.updateRulers();
}
@@ -288,7 +287,7 @@ class MainMenu {
<se-menu-item id="tool_editor_homepage" label="tools.editor_homepage" src="logo.svg"></se-menu-item>
</se-menu>
`;
$id('tools_top').prepend(template.content.cloneNode(true));
this.editor.$svgEditor.append(template.content.cloneNode(true));
// register action to main menu entries
/**