Adjusted ItemCount Position

This commit is contained in:
MasterGordon 2018-03-26 13:56:41 +02:00
parent 26668c0cde
commit 4de9d46b85
1 changed files with 2 additions and 2 deletions

View File

@ -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)