This commit is contained in:
Burning_TNT 2024-01-15 15:52:09 +08:00 committed by GitHub
parent 532ba6ec2f
commit 8f2afdfcff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,6 +195,9 @@ class ModListPageSkin extends SkinBase<ModListPage> {
Node oldToolbar = toolbarPane.getCurrentNode();
if (newToolbar != oldToolbar) {
toolbarPane.setContent(newToolbar, ContainerAnimations.FADE.getAnimationProducer());
if (newToolbar == searchBar) {
searchField.requestFocus();
}
}
}