mirror of
https://github.com/lovasoa/whitebophir
synced 2024-11-10 06:24:17 +00:00
Make selector rect stroke width non-scaling
This commit is contained in:
parent
e5e43b87c6
commit
9e1bfffa80
1 changed files with 2 additions and 1 deletions
|
@ -75,7 +75,8 @@
|
||||||
shape.width.baseVal.value = 0;
|
shape.width.baseVal.value = 0;
|
||||||
shape.height.baseVal.value = 0;
|
shape.height.baseVal.value = 0;
|
||||||
shape.setAttribute("stroke", "black");
|
shape.setAttribute("stroke", "black");
|
||||||
shape.setAttribute("stroke-width", 3);
|
shape.setAttribute("stroke-width", 1);
|
||||||
|
shape.setAttribute("vector-effect", "non-scaling-stroke");
|
||||||
shape.setAttribute("fill", "none");
|
shape.setAttribute("fill", "none");
|
||||||
shape.setAttribute("stroke-dasharray", "5 5");
|
shape.setAttribute("stroke-dasharray", "5 5");
|
||||||
shape.setAttribute("opacity", 1);
|
shape.setAttribute("opacity", 1);
|
||||||
|
|
Loading…
Reference in a new issue