Skip to content

Commit

Permalink
feat(ui): Nice rounded paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed Mar 8, 2021
1 parent e274cf1 commit 59aaee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/zone/js-modules/vacuum-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function VacuumMap(canvasElement) {
svgPath += type + " " + path.points[i] / size.pixelSize + " " + path.points[i + 1] / size.pixelSize + " ";
}

svgPath += "\" fill=\"none\" stroke=\"" + pathColor + "\" stroke-width=\"0.5\"";
svgPath += "\" fill=\"none\" stroke=\"" + pathColor + "\" stroke-width=\"0.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"";

if (isPredicted === true) {
svgPath += " stroke-dasharray=\"1,1\"";
Expand Down

0 comments on commit 59aaee3

Please sign in to comment.