canvas: remove half-transparent background
This commit is contained in:
parent
428c064ebd
commit
26d5671d58
|
@ -122,8 +122,6 @@ const updateTextCache = () => {
|
|||
const renderJourneys = () => {
|
||||
ctx.shadowBlur = 0;
|
||||
ctx.clearRect(0, 0, canvas.width / dpr, canvas.height / dpr);
|
||||
ctx.fillStyle = '#00000085';
|
||||
ctx.fillRect(0, 0, canvas.width / dpr, canvas.height / dpr);
|
||||
let x = canvasState.offsetX, y;
|
||||
|
||||
let firstVisibleJourney = Math.max(0, Math.floor((-canvasState.offsetX + padding) / rectWidthWithPadding));
|
||||
|
|
Loading…
Reference in a new issue