Skip to content

Commit

Permalink
add color while hovering on positions
Browse files Browse the repository at this point in the history
  • Loading branch information
KnotzerIO committed Apr 1, 2024
1 parent 26f2c0c commit 4689302
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 3 additions & 1 deletion src/components/IndoorMapWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ function IndoorMapWrapper() {
positionRadius={positionRadius}
handlePositionClick={handlePositionClick}
className={
isEditMode ? "opacity-100 cursor-pointer" : "opacity-0"
isEditMode
? "opacity-100 cursor-pointer hover:fill-[#488af4] "
: "opacity-0"
}
navigation={navigation}
/>
Expand Down
6 changes: 0 additions & 6 deletions src/styles/map.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@
fill: #4285f4;
}

.position-selected {
opacity: 1;
fill: #03f55b;
stroke: #fff;
}

.path {
stroke: var(--path-color);
stroke-width: 1;
Expand Down

0 comments on commit 4689302

Please sign in to comment.