mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 06:52:21 +00:00
Fix Reset Scroll ordering to reset before list updating
This commit is contained in:
1 parent
518dcad09f
commit
024b917930
10 files changed
+15
-15
No files matched your search
@@ -101,8 +101,8 @@ public class GuiDialogSelection extends SubGuiInterface implements ICustomScroll
|
||||
if(catSearch.equals(getTextField(33).getText()))
|
||||
return;
|
||||
catSearch = getTextField(33).getText().toLowerCase();
|
||||
scrollCategories.setList(getCatSearch());
|
||||
scrollCategories.resetScroll();
|
||||
scrollCategories.setList(getCatSearch());
|
||||
}
|
||||
}
|
||||
if(getTextField(44) != null){
|
||||
@@ -110,8 +110,8 @@ public class GuiDialogSelection extends SubGuiInterface implements ICustomScroll
|
||||
if(dialogSearch.equals(getTextField(44).getText()))
|
||||
return;
|
||||
dialogSearch = getTextField(44).getText().toLowerCase();
|
||||
scrollDialogs.setList(getDialogSearch());
|
||||
scrollDialogs.resetScroll();
|
||||
scrollDialogs.setList(getDialogSearch());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user