canvas: remove half-transparent background

This commit is contained in:
Milan Pässler 2020-07-22 15:09:21 +02:00
parent 428c064ebd
commit 26d5671d58

View file

@ -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));