client/canvas: fix background flicker
Shadow was not reset at some point
This commit is contained in:
parent
d4aae8d34f
commit
ff2320d0f2
|
@ -120,8 +120,9 @@ const updateTextCache = () => {
|
|||
};
|
||||
|
||||
const renderJourneys = () => {
|
||||
ctx.shadowBlur = 0;
|
||||
ctx.clearRect(0, 0, canvas.width / dpr, canvas.height / dpr);
|
||||
ctx.fillStyle = '#00000080';
|
||||
ctx.fillStyle = '#00000085';
|
||||
ctx.fillRect(0, 0, canvas.width / dpr, canvas.height / dpr);
|
||||
let x = canvasState.offsetX, y;
|
||||
|
||||
|
|
Loading…
Reference in a new issue