From 4de9d46b857c5d8d783bc2166dcb500873afef9a Mon Sep 17 00:00:00 2001 From: MasterGordon Date: Mon, 26 Mar 2018 13:56:41 +0200 Subject: [PATCH] Adjusted ItemCount Position --- js/userinterface.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/userinterface.js b/js/userinterface.js index 41f0ddb..458f7d5 100644 --- a/js/userinterface.js +++ b/js/userinterface.js @@ -310,9 +310,9 @@ function drawInventory(inventory, title) { var formattedCount = formatCount(itemCount[currentIndex]) inventoryCtx.strokeStyle = "black" inventoryCtx.lineWidth = 2 - inventoryCtx.strokeText("x" + formattedCount, 2 + x * 72, 94 + y * 72) + inventoryCtx.strokeText("x" + formattedCount, 4 + x * 72, 91 + y * 72) inventoryCtx.fillStyle = "white" - inventoryCtx.fillText("x" + formattedCount, 2 + x * 72, 94 + y * 72) + inventoryCtx.fillText("x" + formattedCount, 4 + x * 72, 91 + y * 72) currentIndex++ if (currentIndex == itemId.length)