mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 05:42:23 +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
@@ -102,6 +102,7 @@ public class GuiQuestSelection extends SubGuiInterface implements ICustomScrollL
|
||||
return;
|
||||
catSearch = getTextField(33).getText().toLowerCase();
|
||||
scrollCategories.setList(getCatSearch());
|
||||
scrollCategories.resetScroll();
|
||||
}
|
||||
}
|
||||
if(getTextField(44) != null){
|
||||
@@ -110,6 +111,7 @@ public class GuiQuestSelection extends SubGuiInterface implements ICustomScrollL
|
||||
return;
|
||||
questSearch = getTextField(44).getText().toLowerCase();
|
||||
scrollQuests.setList(getQuestSearch());
|
||||
scrollQuests.resetScroll();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user