Web Dev Solutions

Catalin Mititiuc

From f07d120b4bb245a76bdd80712a33ba8b222d966a Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Fri, 26 Apr 2024 16:08:40 -0700 Subject: Refactor sight line module to remove almost all querying for elements --- public/map.css | 2 +- public/style.css | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'public') diff --git a/public/map.css b/public/map.css index a1a37e9..932d224 100644 --- a/public/map.css +++ b/public/map.css @@ -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; diff --git a/public/style.css b/public/style.css index ae19a57..b220b88 100644 --- a/public/style.css +++ b/public/style.css @@ -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; -- cgit v1.2.3