fix button glow

This commit is contained in:
Tyler 2024-06-16 10:36:27 +01:00
parent 44125ce13a
commit 8e836b1183
Signed by: observer
GPG Key ID: 934A62C2C469FFAF
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
* {
-fx-focus-color: transparent;
-fx-faint-focus-color: transparent;
}

View File

@ -6,7 +6,7 @@
<?import javafx.scene.layout.*?>
<?import javafx.scene.shape.*?>
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="350.0" prefWidth="500.0" style="-fx-border-color: black; -fx-border-width: 1px;" xmlns="http://javafx.com/javafx/11.0.14-internal" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.shr4pnel.minesweeper.Controller">
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="350.0" prefWidth="500.0" style="-fx-border-color: black; -fx-border-width: 1px;" stylesheets="@fix-glow.css" xmlns="http://javafx.com/javafx/17.0.2-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.shr4pnel.minesweeper.Controller">
<children>
<MenuBar style="-fx-background-color: white;">
<menus>