From 90adce2ec4e756c768808241e385afb90245dbdc Mon Sep 17 00:00:00 2001 From: Obsidian <108832807+Obsidianninja11@users.noreply.github.com> Date: Sat, 2 Sep 2023 02:24:46 -0800 Subject: Better ff guide gui (#426) Slightly changed ff guide tab colors to make more sense #426 --- .../hannibal2/skyhanni/features/garden/fortuneguide/FFGuideGUI.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/java/at/hannibal2') diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/FFGuideGUI.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/FFGuideGUI.kt index 76b0fda29..8fbb09a62 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/FFGuideGUI.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/FFGuideGUI.kt @@ -359,7 +359,7 @@ open class FFGuideGUI : GuiScreen() { private fun renderTabs() { var x = guiLeft + 15 var y = guiTop - 28 - drawRect(x, y, x + 25, y + 28, if (currentCrop == null) 0x50555555 else 0x50000000) + drawRect(x, y, x + 25, y + 28, if (currentCrop == null) 0x50000000 else 0x50303030) GuiRenderUtils.renderItemStack(ItemStack(Blocks.grass), x + 5, y + 5) if (GuiRenderUtils.isPointInRect(mouseX, mouseY, x, y, 25, 28)) { tooltipToDisplay.add("§eOverview") @@ -367,7 +367,7 @@ open class FFGuideGUI : GuiScreen() { for (crop in CropType.entries) { x += 30 - drawRect(x, y, x + 25, y + 28, if (currentCrop == crop) 0x50555555 else 0x50000000) + drawRect(x, y, x + 25, y + 28, if (currentCrop == crop) 0x50000000 else 0x50303030) GuiRenderUtils.renderItemStack(crop.icon, x + 5, y + 5) if (GuiRenderUtils.isPointInRect(mouseX, mouseY, x, y, 25, 28)) { tooltipToDisplay.add("§e${crop.cropName}") @@ -377,13 +377,13 @@ open class FFGuideGUI : GuiScreen() { x = guiLeft - 28 y = guiTop + 15 - drawRect(x, y, x + 28, y + 25, if (selectedPage != FortuneGuidePage.UPGRADES) 0x50555555 else 0x50000000) + drawRect(x, y, x + 28, y + 25, if (selectedPage != FortuneGuidePage.UPGRADES) 0x50000000 else 0x50303030) GuiRenderUtils.renderItemStack(ItemStack(Items.gold_ingot), x + 5, y + 5) if (GuiRenderUtils.isPointInRect(mouseX, mouseY, x, y, 28, 25)) { tooltipToDisplay.add("§eBreakdown") } y += 30 - drawRect(x, y, x + 28, y + 25, if (selectedPage == FortuneGuidePage.UPGRADES) 0x50555555 else 0x50000000) + drawRect(x, y, x + 28, y + 25, if (selectedPage == FortuneGuidePage.UPGRADES) 0x50000000 else 0x50303030) GuiRenderUtils.renderItemStack(ItemStack(Items.map), x + 5, y + 5) if (GuiRenderUtils.isPointInRect(mouseX, mouseY, x, y, 28, 25)) { tooltipToDisplay.add("§eUpgrades") -- cgit