Press ESC in search box to exit search (#3519)

This commit is contained in:
Zkitefly
2025-01-04 01:38:11 +08:00
committed by GitHub
parent 56d20a5d08
commit 1f7b156423

View File

@@ -131,6 +131,8 @@ class ModListPageSkin extends SkinBase<ModListPage> {
Bindings.bindContent(listView.getItems(), getSkinnable().getItems());
});
onEscPressed(searchField, closeSearchBar::fire);
searchBar.getChildren().setAll(searchField, closeSearchBar);
// Toolbar Normal