mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 20:52:36 +00:00
Fix Reset Scroll ordering to reset before list updating
This commit is contained in:
1 parent
518dcad09f
commit
024b917930
10 files changed
+15
-15
No files matched your search
@@ -138,8 +138,8 @@ public class GuiSoundSelection extends SubGuiInterface implements ICustomScrollL
|
||||
if(catSearch.equals(getTextField(55).getText()))
|
||||
return;
|
||||
catSearch = getTextField(55).getText().toLowerCase();
|
||||
scrollCategories.setList(getCatSearch());
|
||||
scrollCategories.resetScroll();
|
||||
scrollCategories.setList(getCatSearch());
|
||||
}
|
||||
}
|
||||
if(getTextField(66) != null){
|
||||
@@ -147,8 +147,8 @@ public class GuiSoundSelection extends SubGuiInterface implements ICustomScrollL
|
||||
if(soundSearch.equals(getTextField(66).getText()))
|
||||
return;
|
||||
soundSearch = getTextField(66).getText().toLowerCase();
|
||||
scrollSounds.setList(getSoundSearch());
|
||||
scrollSounds.resetScroll();
|
||||
scrollSounds.setList(getSoundSearch());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user