maybeeee fix more stuff for gob videos (#1262)
This commit is contained in:
@@ -556,8 +556,7 @@ class ReplayCanvas {
|
||||
|
||||
let iconSize = 18;
|
||||
if (outlinePoints.length >= 3) {
|
||||
const outline = this._pickContrastOutlineColor(outlinePoints);
|
||||
this.mapCtx.strokeStyle = outline;
|
||||
this.mapCtx.strokeStyle = '#fff';
|
||||
this.mapCtx.lineWidth = RC_CAP_STROKE_PX;
|
||||
this.mapCtx.beginPath();
|
||||
this.mapCtx.moveTo(outlinePoints[0][0], outlinePoints[0][1]);
|
||||
@@ -591,8 +590,7 @@ class ReplayCanvas {
|
||||
[px + Math.round(rp * 0.707), py - Math.round(rp * 0.707)],
|
||||
[px - Math.round(rp * 0.707), py - Math.round(rp * 0.707)],
|
||||
];
|
||||
const outline = this._pickContrastOutlineColor(ringSamples);
|
||||
this.mapCtx.strokeStyle = outline;
|
||||
this.mapCtx.strokeStyle = '#fff';
|
||||
this.mapCtx.lineWidth = RC_CAP_STROKE_PX;
|
||||
this.mapCtx.beginPath();
|
||||
this.mapCtx.arc(px, py, rp, 0, Math.PI * 2);
|
||||
|
||||
Reference in New Issue
Block a user