Allow initial showGrid value to be set by config.js or URL
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2804 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
a506f6c02f
commit
3e14f4374f
|
@ -18,7 +18,7 @@ svgEditor.addExtension('view_grid', function() { 'use strict';
|
|||
|
||||
var NS = svgedit.NS,
|
||||
svgdoc = document.getElementById('svgcanvas').ownerDocument,
|
||||
showGrid = false,
|
||||
showGrid = svgEditor.curConfig.showGrid || false,
|
||||
assignAttributes = svgCanvas.assignAttributes,
|
||||
hcanvas = document.createElement('canvas'),
|
||||
canvBG = $('#canvasBackground'),
|
||||
|
|
Loading…
Reference in New Issue