Commit a81c9ef5 authored by Albert Gräf's avatar Albert Gräf
Browse files

Increase the opacity of the edit mode grid to make it easier to see when not in snap mode.

parent c92a54d8
...@@ -1449,7 +1449,7 @@ var create_editmode_bg = function(cid, svg_elem) { ...@@ -1449,7 +1449,7 @@ var create_editmode_bg = function(cid, svg_elem) {
// if snap-to-grid isn't turned on, just use cell size of 10 and make the // if snap-to-grid isn't turned on, just use cell size of 10 and make the
// grid partially transparent // grid partially transparent
size = grid ? size : 10; size = grid ? size : 10;
opacity_str = '"' + (grid ? 1 : 0.25) + '"'; opacity_str = '"' + (grid ? 1 : 0.4) + '"';
cell_data_str = ['"', "M", size, 0, "L", 0, 0, 0, size, '"'].join(" "); cell_data_str = ['"', "M", size, 0, "L", 0, 0, 0, size, '"'].join(" ");
head = ['<svg xmlns="http://www.w3.org/2000/svg" ', head = ['<svg xmlns="http://www.w3.org/2000/svg" ',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment