Fix Reset Scroll ordering to reset before list updating

This commit is contained in:
Kam committed 2024-03-29 05:05:55 -04:00
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());
}
}
}