ctucx.git: oeffisearch

[nimlang] fast and simple tripplanner

commit 26d5671d587a656c2cb42e84ef991d522d32dfc7
parent 428c064ebd59eb073d11a9a0cd6276d19f8b3f41
Author: Milan Pässler <me@pbb.lc>
Date: Wed, 22 Jul 2020 15:09:21 +0200

canvas: remove half-transparent background
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/client/js/canvas.js b/client/js/canvas.js
@@ -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));