diff options
Diffstat (limited to '')
| -rw-r--r-- | src/gui/LevelSurround.java | 5 | ||||
| -rw-r--r-- | src/gui/style.css | 10 | 
2 files changed, 8 insertions, 7 deletions
diff --git a/src/gui/LevelSurround.java b/src/gui/LevelSurround.java index 2f9ec75..512a088 100644 --- a/src/gui/LevelSurround.java +++ b/src/gui/LevelSurround.java @@ -1,6 +1,7 @@  package gui;  import fallTest.newSongPlayer; +import fallTest.testSongPlayer;  import javafx.geometry.Insets;  import javafx.geometry.Pos;  import javafx.scene.control.Button; @@ -82,14 +83,14 @@ public class LevelSurround extends Pane          comboTextBox.getChildren().addAll(comboLabel,comboDisplay);          comboTextBox.setPadding(new Insets(10)); -        Pane game = new Pane(); +        testSongPlayer game = new testSongPlayer(level, difficulty, prev, sc);          game.minWidthProperty().bind(super.prefHeightProperty().multiply(0.66));          game.minHeightProperty().bind(super.prefHeightProperty());          game.getStyleClass().add("box"); +          comboTextBox.minWidthProperty().bind(super.prefWidthProperty().subtract(game.minWidthProperty()).divide(2));          scoreTextBox.minWidthProperty().bind(super.prefWidthProperty().subtract(game.minWidthProperty()).divide(2)); -        new fallTest.newSongPlayer(level, difficulty, prev, sc);          HBox centerBox = new HBox();          centerBox.getChildren().addAll(comboTextBox,game, scoreTextBox); diff --git a/src/gui/style.css b/src/gui/style.css index 04d7031..304ee9a 100644 --- a/src/gui/style.css +++ b/src/gui/style.css @@ -235,11 +235,11 @@ Slider:focused .thumb{  /* debug */  .debug { -    -fx-background-radius: 5;     -    -fx-background-color: rgba(255, 0, 0, 0.281);  -    -fx-border-color: red; -    -fx-text-fill: white; -    -fx-border-width: 20; +    /* -fx-background-radius: 5;     */ +    -fx-background-color: rgb(255, 0, 0);  +    /* -fx-border-color: red; */ +    /* -fx-text-fill: white; */ +    /* -fx-border-width: 20; */  }  | 
