fixed #895 thanks to FlintOBrien - Grid is invisible when background is black

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2435 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Bruno Heridet
2013-02-19 21:07:24 +00:00
parent 480c41ee69
commit 617c5c32bb
60 changed files with 128 additions and 65 deletions

View File

@@ -96,7 +96,7 @@ svgEditor.addExtension('view_grid', function() {
var part = big_int / 10;
ctx.globalAlpha = 0.2;
ctx.strokeStyle = '#000';
ctx.strokeStyle = svgEditor.curConfig.gridColor;
for (var i = 1; i < 10; i++) {
var sub_d = Math.round(part * i) + 0.5;
// var line_num = (i % 2)?12:10;