Skip to content

Commit 735ed25

Browse files
committed
Adjust node radius values in useMapLayers
Improves the visual distinction between node types on the map.
1 parent d5aa839 commit 735ed25

File tree

1 file changed

+3
-3
lines changed
  • src/features/map/components/Map

1 file changed

+3
-3
lines changed

src/features/map/components/Map/Map.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,11 @@ const useMapLayers = (onHover = () => {}) => {
206206

207207
const nodeRadius = (type) => {
208208
if (type === 'NONE') {
209-
return 0;
209+
return 1;
210210
} else if (type === 'CONSUMER') {
211-
return 2;
212-
} else if (type === 'PLANT') {
213211
return 3;
212+
} else if (type === 'PLANT') {
213+
return 5;
214214
}
215215
};
216216

0 commit comments

Comments
 (0)