From 93fedd38cc017c07ed8ddaf07673df04104459eb Mon Sep 17 00:00:00 2001 From: Thibault Blanc Beyne Date: Wed, 22 Aug 2018 17:51:09 +0200 Subject: [PATCH] Stroke new game and exit --- src/menu.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/menu.js b/src/menu.js index 37cceff..c88ffc2 100644 --- a/src/menu.js +++ b/src/menu.js @@ -39,6 +39,7 @@ class Menu extends Screen { let text = "New Game"; let box = this.newGameBox(); this.context.fillText(text, box.x, box.y + 30); + this.context.strokeText(text, box.x, box.y + 30); // this.context.beginPath(); // box = this.enlargeBox(box); @@ -48,6 +49,7 @@ class Menu extends Screen { text = "Exit"; box = this.exitBox(); this.context.fillText(text, box.x, box.y + 30); + this.context.strokeText(text, box.x, box.y + 30); // this.context.beginPath(); // box = this.enlargeBox(box);