Make Toast a little bit more opaque

This commit is contained in:
0xboobface 2018-11-23 20:47:56 +01:00
parent c7333ede64
commit 2121f56804
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ public final class Toast {
text.setFill(Color.WHITE);
StackPane root = new StackPane(text);
root.setStyle("-fx-background-radius: 20; -fx-background-color: rgba(0, 0, 0, 0.4); -fx-padding: 50px;");
root.setStyle("-fx-background-radius: 20; -fx-background-color: rgba(0, 0, 0, 0.8); -fx-padding: 50px;");
root.setOpacity(0);
Scene scene = new Scene(root);