diff options
author | bowser0000 <bowser0000@gmail.com> | 2021-04-09 10:25:27 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2021-04-09 10:25:27 -0400 |
commit | 5360b5ceb83feab156f1e70460b842ba7721544b (patch) | |
tree | cf0f9c64349becb84a2603e1bf0ccf2c20acdfe0 /src/main/java/me/Danker/gui | |
parent | a929ac303271b62e630a1c0d7c7602b321333291 (diff) | |
download | SkyblockMod-5360b5ceb83feab156f1e70460b842ba7721544b.tar.gz SkyblockMod-5360b5ceb83feab156f1e70460b842ba7721544b.tar.bz2 SkyblockMod-5360b5ceb83feab156f1e70460b842ba7721544b.zip |
Fix /dsm buttons duplicating when resizing window
Diffstat (limited to 'src/main/java/me/Danker/gui')
-rw-r--r-- | src/main/java/me/Danker/gui/DankerGui.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/gui/DankerGui.java b/src/main/java/me/Danker/gui/DankerGui.java index c5145e6..1c839c3 100644 --- a/src/main/java/me/Danker/gui/DankerGui.java +++ b/src/main/java/me/Danker/gui/DankerGui.java @@ -146,6 +146,7 @@ public class DankerGui extends GuiScreen { highlightArachne = new FeatureButton("Highlight Arachne: " + Utils.getColouredBoolean(ToggleCommand.highlightArachne), "Highlights Arachne boss."); highlightSlayer = new FeatureButton("Highlight Slayer: " + Utils.getColouredBoolean(ToggleCommand.highlightSlayers), "Highlights Slayer boss."); + allButtons.clear(); allButtons.add(changeDisplay); allButtons.add(puzzleSolvers); allButtons.add(experimentationTableSolvers); @@ -424,6 +425,7 @@ public class DankerGui extends GuiScreen { protected void keyTyped(char typedChar, int keyCode) throws IOException { super.keyTyped(typedChar, keyCode); search.textboxKeyTyped(typedChar, keyCode); + initSearchText = search.getText(); reInit(); } |