File tree Expand file tree Collapse file tree
HMCL/src/main/java/org/jackhuang/hmcl/ui Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ public ToolbarListPageSkin(P skinnable) {
6262 {
6363 this .listView = new JFXListView <>();
6464 this .listView .setPadding (Insets .EMPTY );
65+ this .listView .setFocusTraversable (false );
6566 this .listView .setCellFactory (listView -> createListCell ((JFXListView <E >) listView ));
6667 ComponentList .setVgrow (listView , Priority .ALWAYS );
6768 Bindings .bindContent (this .listView .getItems (), skinnable .itemsProperty ());
Original file line number Diff line number Diff line change @@ -155,6 +155,7 @@ private ResourcepackListPageSkin(ResourcepackListPage control) {
155155 center .getStyleClass ().add ("large-spinner-pane" );
156156 center .loadingProperty ().bind (control .loadingProperty ());
157157
158+ listView .setFocusTraversable (false );
158159 listView .setCellFactory (x -> new ResourcepackListCell (listView , control ));
159160 Bindings .bindContent (listView .getItems (), control .getItems ());
160161
You can’t perform that action at this time.
0 commit comments