Reduced map grid opacity

This commit is contained in:
Mitchell McCaffrey 2020-06-28 15:44:53 +10:00
parent 9f2ab861bb
commit f4145b2f3b

View File

@ -71,7 +71,7 @@ function MapGrid({ map, gridSize }) {
points={[x * lineSpacingX, 0, x * lineSpacingX, mapHeight]} points={[x * lineSpacingX, 0, x * lineSpacingX, mapHeight]}
stroke={isImageLight ? "black" : "white"} stroke={isImageLight ? "black" : "white"}
strokeWidth={getStrokeWidth(0.1, gridSize, mapWidth, mapHeight)} strokeWidth={getStrokeWidth(0.1, gridSize, mapWidth, mapHeight)}
opacity={0.8} opacity={0.5}
/> />
); );
} }
@ -82,7 +82,7 @@ function MapGrid({ map, gridSize }) {
points={[0, y * lineSpacingY, mapWidth, y * lineSpacingY]} points={[0, y * lineSpacingY, mapWidth, y * lineSpacingY]}
stroke={isImageLight ? "black" : "white"} stroke={isImageLight ? "black" : "white"}
strokeWidth={getStrokeWidth(0.1, gridSize, mapWidth, mapHeight)} strokeWidth={getStrokeWidth(0.1, gridSize, mapWidth, mapHeight)}
opacity={0.8} opacity={0.5}
/> />
); );
} }