Skip to content

Commit

Permalink
Press ESC in search box to exit search
Browse files Browse the repository at this point in the history
  • Loading branch information
zkitefly authored Jan 3, 2025
1 parent d61826b commit 215da33
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 215da33

Please sign in to comment.