File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141import javafx .geometry .Insets ;
4242import javafx .geometry .Side ;
4343import javafx .geometry .VPos ;
44- import javafx .scene .Cursor ;
4544import javafx .scene .Node ;
4645import javafx .scene .control .*;
4746import 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 );
Original file line number Diff line number Diff line change 2929import com .jfoenix .transitions .JFXKeyValue ;
3030import javafx .animation .Interpolator ;
3131import javafx .geometry .Insets ;
32- import javafx .scene .Cursor ;
3332import javafx .scene .control .skin .ToggleButtonSkin ;
3433import javafx .scene .layout .StackPane ;
3534import 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 ) -> {
Original file line number Diff line number Diff 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 );
Original file line number Diff line number Diff line change 2222import com .jfoenix .effects .JFXDepthManager ;
2323import javafx .beans .binding .Bindings ;
2424import javafx .geometry .Pos ;
25- import javafx .scene .Cursor ;
2625import javafx .scene .canvas .Canvas ;
2726import javafx .scene .control .Label ;
2827import 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 ();
Original file line number Diff line number Diff line change 2828import javafx .event .EventHandler ;
2929import javafx .geometry .Insets ;
3030import javafx .geometry .Pos ;
31- import javafx .scene .Cursor ;
3231import javafx .scene .control .Label ;
3332import javafx .scene .control .Tooltip ;
3433import 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 {
Original file line number Diff line number Diff line change 3030import javafx .event .EventHandler ;
3131import javafx .geometry .Insets ;
3232import javafx .geometry .Pos ;
33- import javafx .scene .Cursor ;
3433import javafx .scene .Node ;
3534import javafx .scene .control .*;
3635import 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 );
Original file line number Diff line number Diff line change 1717 */
1818package 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 ;
2123import javafx .beans .property .SimpleStringProperty ;
2224import javafx .beans .property .StringProperty ;
2325import javafx .event .ActionEvent ;
2426import javafx .geometry .Insets ;
2527import javafx .geometry .Pos ;
26- import javafx .scene .Cursor ;
2728import javafx .scene .control .ListCell ;
2829import javafx .scene .input .MouseButton ;
2930import 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 )
Original file line number Diff line number Diff line change 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 ;
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 {
658653.icon {
659654 -fx-fill : # FE774D ;
660655 -fx-padding : 10.0 ;
661- -fx-cursor : hand;
662656}
663657
664658/*******************************************************************************
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 {
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 *
845828
846829.jfx-button {
847830 -jfx-disable-visual-focus : true;
848- -fx-cursor : hand;
849831}
850832
851833.jfx-button .jfx-rippler {
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
You can’t perform that action at this time.
0 commit comments