commit
bb90115130
|
@ -120,7 +120,6 @@ class MainMenu {
|
||||||
this.editor.configObj.curConfig.snappingStep = gridsnappingstep;
|
this.editor.configObj.curConfig.snappingStep = gridsnappingstep;
|
||||||
this.editor.configObj.curConfig.gridColor = gridcolor;
|
this.editor.configObj.curConfig.gridColor = gridcolor;
|
||||||
this.editor.configObj.curConfig.showRulers = showrulers;
|
this.editor.configObj.curConfig.showRulers = showrulers;
|
||||||
$id('rulers').style.display = (this.editor.configObj.curConfig.showRulers) ? 'block' : 'none';
|
|
||||||
if (this.editor.configObj.curConfig.showRulers) {
|
if (this.editor.configObj.curConfig.showRulers) {
|
||||||
this.editor.rulers.updateRulers();
|
this.editor.rulers.updateRulers();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue