aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorObsidian <108832807+Obsidianninja11@users.noreply.github.com>2023-09-02 02:24:46 -0800
committerGitHub <noreply@github.com>2023-09-02 12:24:46 +0200
commit90adce2ec4e756c768808241e385afb90245dbdc (patch)
tree81940570de45e4dbdb1551038e2b5750b0ed48f8
parent966eaa282e604939b7e295279a5f0b22ba1c6e0f (diff)
downloadskyhanni-90adce2ec4e756c768808241e385afb90245dbdc.tar.gz
skyhanni-90adce2ec4e756c768808241e385afb90245dbdc.tar.bz2
skyhanni-90adce2ec4e756c768808241e385afb90245dbdc.zip
Better ff guide gui (#426)
Slightly changed ff guide tab colors to make more sense #426
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/FFGuideGUI.kt8
1 files changed, 4 insertions, 4 deletions
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")