diff --git a/CHANGELOG.md b/CHANGELOG.md index bd6ff3cda78c67b76ee5d558b85e3eda844a1c00..8fc1d6f3b907d817823c75212112ee8e0c886cf9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- `FE` Removed redundant clock icon from HUD. + ## [1.0.0] - 2022-04-21 ### Added diff --git a/frontend/src/js/hud.ts b/frontend/src/js/hud.ts index 8deddc0dd4765dec2eafa9fc25297581659dd968..057be4bb9ddda10e8da0b70170f9230f0162c1cc 100644 --- a/frontend/src/js/hud.ts +++ b/frontend/src/js/hud.ts @@ -109,12 +109,7 @@ export default class HUD { initClock(scene: Phaser.Scene) { return scene.add - .text( - scene.cameras.main.width * 0.5, - 0, - `${ICONS.CLOCK}1:23.32`, - this.statsTextStyle(), - ) + .text(scene.cameras.main.width * 0.5, 0, "", this.statsTextStyle()) .setOrigin(0.5, 0); } @@ -131,7 +126,8 @@ export default class HUD { } setClock(milliseconds: number) { - this.clock.text = `${formatTime(milliseconds)}${THIN_SPACE}${ICONS.CLOCK}`; + this.clock.text = formatTime(milliseconds); + // this.clock.text = `${formatTime(milliseconds)}${THIN_SPACE}${ICONS.CLOCK}`; } showSubmitFeedback(color: string, input: string) {