From 65c57d1d3e834435c975b90d0a4da78107882572 Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Sun, 23 Jul 2023 15:28:06 +0100 Subject: [PATCH] hotfix: bad code --- frontend/ui.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/ui.go b/frontend/ui.go index f5a634b..80fc0ed 100644 --- a/frontend/ui.go +++ b/frontend/ui.go @@ -6,7 +6,7 @@ import ( "image/color" // String convert - "strconv" + // "strconv" // EbitenUI "github.com/ebitenui/ebitenui" @@ -84,7 +84,7 @@ func uiInit(width, height int) UI { // health := widget.NewButton( // widget.ButtonOpts.Text(strconv.Itoa(activePlayer.health), face, buttonTextColor), // ) - tabProfile.AddChild(health) + // tabProfile.AddChild(health) tabInventory := widget.NewTabBookTab("Inventory", widget.ContainerOpts.BackgroundImage(image.NewNineSliceColor(color.NRGBA{0, 255, 0, 0xff})),