mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 18:09:44 +00:00
Reset Scroll Bar positioning when searching via Textfield
This commit is contained in:
1 parent
44f91da175
commit
5a7bd08403
11 files changed
+47
-31
No files matched your search
@@ -139,6 +139,7 @@ public class GuiSoundSelection extends SubGuiInterface implements ICustomScrollL
|
||||
return;
|
||||
catSearch = getTextField(55).getText().toLowerCase();
|
||||
scrollCategories.setList(getCatSearch());
|
||||
scrollCategories.resetScroll();
|
||||
}
|
||||
}
|
||||
if(getTextField(66) != null){
|
||||
@@ -147,6 +148,7 @@ public class GuiSoundSelection extends SubGuiInterface implements ICustomScrollL
|
||||
return;
|
||||
soundSearch = getTextField(66).getText().toLowerCase();
|
||||
scrollSounds.setList(getSoundSearch());
|
||||
scrollSounds.resetScroll();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user