diff --git a/src/components/timeline/TrackPowerGraph.js b/src/components/timeline/TrackPowerGraph.js index b930e1424c..070b93b241 100644 --- a/src/components/timeline/TrackPowerGraph.js +++ b/src/components/timeline/TrackPowerGraph.js @@ -124,6 +124,7 @@ class TrackPowerCanvas extends React.PureComponent { // power graph. ctx.lineWidth = deviceLineWidth; + ctx.lineJoin = 'bevel'; ctx.strokeStyle = GREY_50; ctx.fillStyle = '#73737388'; // Grey 50 with transparency. ctx.beginPath(); diff --git a/src/test/components/__snapshots__/TrackPower.test.js.snap b/src/test/components/__snapshots__/TrackPower.test.js.snap index ff26e785a8..3e195d7595 100644 --- a/src/test/components/__snapshots__/TrackPower.test.js.snap +++ b/src/test/components/__snapshots__/TrackPower.test.js.snap @@ -45,6 +45,10 @@ Array [ "set lineWidth", 2, ], + Array [ + "set lineJoin", + "bevel", + ], Array [ "set strokeStyle", "#737373",