Skip to content

Commit 1b0b36a

Browse files
committed
qwq
1 parent 35bc538 commit 1b0b36a

8 files changed

Lines changed: 3 additions & 33 deletions

File tree

HMCL/src/main/java/com/jfoenix/skins/JFXTabPaneSkin.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
import javafx.geometry.Insets;
4242
import javafx.geometry.Side;
4343
import javafx.geometry.VPos;
44-
import javafx.scene.Cursor;
4544
import javafx.scene.Node;
4645
import javafx.scene.control.*;
4746
import javafx.scene.control.skin.TabPaneSkin;
@@ -1126,7 +1125,6 @@ public HeaderControl(ArrowPosition pos) {
11261125
StackPane container = new StackPane(arrowButton);
11271126
container.getStyleClass().add("container");
11281127
container.setPadding(new Insets(7));
1129-
container.setCursor(Cursor.HAND);
11301128

11311129
container.setOnMousePressed(press -> {
11321130
offsetProperty.set(header.scrollOffset);

HMCL/src/main/java/com/jfoenix/skins/JFXToggleButtonSkin.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import com.jfoenix.transitions.JFXKeyValue;
3030
import javafx.animation.Interpolator;
3131
import javafx.geometry.Insets;
32-
import javafx.scene.Cursor;
3332
import javafx.scene.control.skin.ToggleButtonSkin;
3433
import javafx.scene.layout.StackPane;
3534
import javafx.scene.shape.Circle;
@@ -86,7 +85,6 @@ public JFXToggleButtonSkin(JFXToggleButton toggleButton) {
8685

8786
final StackPane main = new StackPane();
8887
main.getChildren().setAll(line, rippler);
89-
main.setCursor(Cursor.HAND);
9088

9189
// show focus traversal effect
9290
getSkinnable().armedProperty().addListener((o, oldVal, newVal) -> {

HMCL/src/main/java/org/jackhuang/hmcl/ui/InstallerItem.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,6 @@ private static final class InstallerItemSkin extends SkinBase<InstallerItem> {
404404
event.consume();
405405
}
406406
});
407-
pane.setCursor(Cursor.HAND);
408407
} else {
409408
container.setOnMouseClicked(null);
410409
pane.setCursor(Cursor.DEFAULT);

HMCL/src/main/java/org/jackhuang/hmcl/ui/account/AccountListItemSkin.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import com.jfoenix.effects.JFXDepthManager;
2323
import javafx.beans.binding.Bindings;
2424
import javafx.geometry.Pos;
25-
import javafx.scene.Cursor;
2625
import javafx.scene.canvas.Canvas;
2726
import javafx.scene.control.Label;
2827
import javafx.scene.control.SkinBase;
@@ -52,7 +51,6 @@ public AccountListItemSkin(AccountListItem skinnable) {
5251
super(skinnable);
5352

5453
BorderPane root = new BorderPane();
55-
root.setCursor(Cursor.HAND);
5654
FXUtils.onClicked(root, skinnable::fire);
5755

5856
JFXRadioButton chkSelected = new JFXRadioButton();

HMCL/src/main/java/org/jackhuang/hmcl/ui/main/MainPage.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
import javafx.event.EventHandler;
2929
import javafx.geometry.Insets;
3030
import javafx.geometry.Pos;
31-
import javafx.scene.Cursor;
3231
import javafx.scene.control.Label;
3332
import javafx.scene.control.Tooltip;
3433
import javafx.scene.image.ImageView;
@@ -171,7 +170,6 @@ public final class MainPage extends StackPane implements DecoratorPage {
171170
FXUtils.setLimitHeight(updatePane, 55);
172171
StackPane.setAlignment(updatePane, Pos.TOP_RIGHT);
173172
FXUtils.onClicked(updatePane, this::onUpgrade);
174-
updatePane.setCursor(Cursor.HAND);
175173
FXUtils.onChange(showUpdateProperty(), this::showUpdate);
176174

177175
{

HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadListPage.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import javafx.event.EventHandler;
3131
import javafx.geometry.Insets;
3232
import javafx.geometry.Pos;
33-
import javafx.scene.Cursor;
3433
import javafx.scene.Node;
3534
import javafx.scene.control.*;
3635
import javafx.scene.image.Image;
@@ -545,7 +544,6 @@ protected ModDownloadListPageSkin(DownloadListPage control) {
545544

546545
HBox container = new HBox(8);
547546
container.setPadding(new Insets(8));
548-
container.setCursor(Cursor.HAND);
549547
container.setAlignment(Pos.CENTER_LEFT);
550548

551549
imageContainer.setMouseTransparent(true);

HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/GameListCell.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@
1717
*/
1818
package org.jackhuang.hmcl.ui.versions;
1919

20-
import com.jfoenix.controls.*;
20+
import com.jfoenix.controls.JFXButton;
21+
import com.jfoenix.controls.JFXPopup;
22+
import com.jfoenix.controls.JFXRadioButton;
2123
import javafx.beans.property.SimpleStringProperty;
2224
import javafx.beans.property.StringProperty;
2325
import javafx.event.ActionEvent;
2426
import javafx.geometry.Insets;
2527
import javafx.geometry.Pos;
26-
import javafx.scene.Cursor;
2728
import javafx.scene.control.ListCell;
2829
import javafx.scene.input.MouseButton;
2930
import javafx.scene.layout.BorderPane;
@@ -140,7 +141,6 @@ public void fire() {
140141
right.getChildren().add(btnManage);
141142
}
142143

143-
root.setCursor(Cursor.HAND);
144144
container.setOnMouseClicked(e -> {
145145
GameListItem item = getItem();
146146
if (item == null)

HMCL/src/main/resources/assets/css/root.css

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -392,10 +392,6 @@
392392
-fx-fill: -monet-inverse-on-surface;
393393
}
394394

395-
.sponsor-pane {
396-
-fx-cursor: hand;
397-
}
398-
399395
.installer-item-wrapper {
400396
-fx-background-color: -monet-surface;
401397
-fx-background-radius: 4;
@@ -444,7 +440,6 @@
444440
-fx-min-height: 55px;
445441
-fx-background-color: -monet-primary-container;
446442
-fx-opacity: 1; /* Override the opacity of disabled button */
447-
-fx-cursor: hand;
448443
}
449444

450445
.launch-pane > .jfx-button.launch-button {
@@ -658,7 +653,6 @@
658653
.icon {
659654
-fx-fill: #FE774D;
660655
-fx-padding: 10.0;
661-
-fx-cursor: hand;
662656
}
663657

664658
/*******************************************************************************
@@ -695,7 +689,6 @@
695689
-fx-min-height: 40px;
696690
-fx-max-height: 40px;
697691
-fx-pref-height: 40px;
698-
-fx-cursor: hand;
699692
}
700693

701694
.jfx-tool-bar .jfx-decorator-button .svg {
@@ -827,16 +820,6 @@
827820
-fx-background-insets: 0;
828821
}
829822

830-
/*******************************************************************************
831-
* *
832-
* JFX Rippler *
833-
* *
834-
*******************************************************************************/
835-
836-
.jfx-rippler:hover {
837-
-fx-cursor: hand;
838-
}
839-
840823
/*******************************************************************************
841824
* *
842825
* JFX Button *
@@ -845,7 +828,6 @@
845828

846829
.jfx-button {
847830
-jfx-disable-visual-focus: true;
848-
-fx-cursor: hand;
849831
}
850832

851833
.jfx-button .jfx-rippler {
@@ -1518,7 +1500,6 @@
15181500
.combo-box-popup .list-view .jfx-list-cell {
15191501
-fx-background-color: -monet-surface-container;
15201502
-fx-text-fill: -monet-on-surface;
1521-
-fx-cursor: hand;
15221503
-fx-background-insets: 0.0;
15231504
}
15241505

0 commit comments

Comments
 (0)