Actually fix path drawing order
This commit is contained in:
1 parent
92b9ad2c1a
commit
8252fd6ba9
3 files changed
+8
-6
No files matched your search
+2
-2
@@ -221,11 +221,11 @@ export function drawPolyline(ctx, trackWidth){
|
||||
if(i === 0) ctx.moveTo(x, y);
|
||||
else ctx.lineTo(x, y);
|
||||
}
|
||||
ctx.strokeStyle = '#0b1220cc';
|
||||
ctx.strokeStyle = '#0b122088';
|
||||
ctx.lineWidth = outline;
|
||||
ctx.stroke();
|
||||
|
||||
ctx.strokeStyle = '#4fa3ff';
|
||||
ctx.strokeStyle = '#4fa3ffdd';
|
||||
ctx.lineWidth = width;
|
||||
ctx.stroke();
|
||||
ctx.restore();
|
||||
|
||||
Reference in new issue
Block a user