Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CHAITANYA CHAWLA
purr-data
Commits
a81c9ef5
Commit
a81c9ef5
authored
Nov 02, 2020
by
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
Changes
1
Show whitespace changes
Inline
Side-by-side
pd/nw/pdgui.js
View file @
a81c9ef5
...
...
@@ -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
// grid partially transparent
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
(
"
"
);
head
=
[
'
<svg xmlns="http://www.w3.org/2000/svg"
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment