Merge pull request #633 from SVG-Edit/issue/631

#631 rulers id not found , so we removed
This commit is contained in:
JFH
2021-08-30 14:44:48 +02:00
committed by GitHub

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();
}