mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-27 02:42:55 +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
@@ -101,6 +101,7 @@ public class GuiNPCManageDialogs extends GuiNPCInterface2 implements IScrollGrou
|
||||
return;
|
||||
catSearch = getTextField(55).getText().toLowerCase();
|
||||
catScroll.setList(getCatSearch());
|
||||
catScroll.resetScroll();
|
||||
}
|
||||
}
|
||||
if(getTextField(66) != null){
|
||||
@@ -109,6 +110,7 @@ public class GuiNPCManageDialogs extends GuiNPCInterface2 implements IScrollGrou
|
||||
return;
|
||||
diagSearch = getTextField(66).getText().toLowerCase();
|
||||
dialogScroll.setList(getDiagSearch());
|
||||
dialogScroll.resetScroll();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user