diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/construct/TwoLineListItem.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/construct/TwoLineListItem.java index 1c27cb656..2ab64e91d 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/construct/TwoLineListItem.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/construct/TwoLineListItem.java @@ -53,6 +53,7 @@ public class TwoLineListItem extends StackPane { } public TwoLineListItem() { + setMouseTransparent(true); Label lblTitle = new Label(); lblTitle.textFillProperty().bind(titleFill); lblTitle.fontProperty().bind(titleFont); diff --git a/HMCL/src/main/resources/assets/css/root.css b/HMCL/src/main/resources/assets/css/root.css index 31b29218e..c7366cd86 100644 --- a/HMCL/src/main/resources/assets/css/root.css +++ b/HMCL/src/main/resources/assets/css/root.css @@ -679,7 +679,9 @@ *******************************************************************************/ .jfx-list-cell:odd, -.jfx-list-cell:even { +.jfx-list-cell:even, +.list-cell:odd, +.list-cell:even { -fx-background-color: WHITE; } @@ -1095,7 +1097,7 @@ *******************************************************************************/ .jfx-combo-box { - -jfx-focus-color: -fx-base-check-color; + -jfx-focus-color: -fx-base-check-color; } .jfx-combo-box-warning {