mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 06:52:21 +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 GuiDialogSelection extends SubGuiInterface implements ICustomScroll
|
||||
return;
|
||||
catSearch = getTextField(33).getText().toLowerCase();
|
||||
scrollCategories.setList(getCatSearch());
|
||||
scrollCategories.resetScroll();
|
||||
}
|
||||
}
|
||||
if(getTextField(44) != null){
|
||||
@@ -110,6 +111,7 @@ public class GuiDialogSelection extends SubGuiInterface implements ICustomScroll
|
||||
return;
|
||||
dialogSearch = getTextField(44).getText().toLowerCase();
|
||||
scrollDialogs.setList(getDialogSearch());
|
||||
scrollDialogs.resetScroll();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user