Refactor sight line module to remove almost all querying for elements
This commit is contained in:
@@ -35,7 +35,7 @@ use[href="#hex"].active {
|
||||
stroke: black;
|
||||
}
|
||||
|
||||
use[href="#hex"].sight-line-target {
|
||||
.sight-line-target use[href="#hex"] {
|
||||
opacity: 1;
|
||||
stroke: orangered;
|
||||
fill-opacity: 0.04;
|
||||
|
||||
@@ -140,13 +140,6 @@ use[href="#point"].active {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
use[href="#point"].sight-line-target {
|
||||
opacity: 1;
|
||||
stroke: orangered;
|
||||
/* stroke-width: 1px; */
|
||||
fill-opacity: 0.04;
|
||||
}
|
||||
|
||||
polyline.move-trace {
|
||||
stroke: gray;
|
||||
stroke-dasharray: 2;
|
||||
|
||||
Reference in New Issue
Block a user