Skip to content

Commit

Permalink
Use absolute stroke widths instead of relative (improves rendering on…
Browse files Browse the repository at this point in the history
… large scores).
  • Loading branch information
Petter Ericson committed Mar 17, 2021
1 parent 5904c35 commit f83a286
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ select.instance-select {
transform: translate3d(0,0,0);
filter: url("#glowFilter");
stroke: blue;
stroke-width: 0.2%;
stroke-width: 20px;
}
.extraselectedmetarelation {
fill-opacity : 0.9;
Expand All @@ -321,38 +321,38 @@ select.instance-select {
transform: translate3d(0,0,0);
filter: url("#glowFilter");
stroke: blue;
stroke-width: 0.15%;
stroke-width: 15px;
stroke-opacity: 0.8;
}
.shift-pressed .relation:hover {
transform: translate3d(0,0,0);
filter: url("#glowFilter");
stroke: red;
stroke-width: 0.15%;
stroke-width: 15px;
stroke-opacity: 0.8;
}
.selectedrelation {
fill-opacity : 0.7;
stroke-opacity : 0.8;
stroke: blue;
stroke-dasharray: 100 100;
stroke-width: 0.15%;
stroke-width: 15px;
transform : translate3d(0,0,0);
filter : url("#selectFilter");
}
.extraselectedrelation:hover {
transform : translate3d(0,0,0);
filter : url("#glowFilter");
stroke: red;
stroke-width: 0.15%;
stroke-width: 15px;
stroke-opacity: 0.8;
}
.extraselectedrelation {
fill-opacity : 0.7;
stroke-opacity : 0.8;
stroke: red;
stroke-dasharray: 80 80;
stroke-width: 0.15%;
stroke-width: 15px;
transform : translate3d(0,0,0);
filter : url("#extraFilter");
}
Expand Down

0 comments on commit f83a286

Please sign in to comment.