From 4bde839b01e5c250d2ac2a29cfe320b1345c96e1 Mon Sep 17 00:00:00 2001 From: Thibault Blanc Beyne Date: Wed, 22 Aug 2018 16:07:14 +0200 Subject: [PATCH] Remove white line of highscore --- src/scene.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/scene.js b/src/scene.js index cc13a3e..a029c2e 100644 --- a/src/scene.js +++ b/src/scene.js @@ -171,12 +171,6 @@ class Scene extends Screen { let height = this.height() * (1 - this.currentMaxHeight - this.player.size / 2); - this.context.strokeStyle = 'rgb(255, 255, 255)'; - this.context.beginPath(); - this.context.moveTo(0, height); - this.context.lineTo(this.width(), height); - this.context.stroke(); - this.context.save(); this.context.translate(0, height);