diff --git a/Launcher/runtime/dialog/dialog.js b/Launcher/runtime/dialog/dialog.js index 9bd80975..2ca9cf9d 100644 --- a/Launcher/runtime/dialog/dialog.js +++ b/Launcher/runtime/dialog/dialog.js @@ -278,10 +278,13 @@ function updateProfilesList(profiles) { profiles.forEach(function (profile, i, arr) { pingers[profile.object] = new ServerPinger(profile.object.getServerSocketAddress(), profile.object.getVersion()); var serverBtn = new javafx.scene.control.ToggleButton(profile); - profilesList[serverBtn] = profile; - serverBtn.setOnAction(function (event) { - serverHolder.set(serverBtn); - }); + (function () { + profilesList[serverBtn] = profile; + var hold = serverBtn; + serverBtn.setOnAction(function (event) { + serverHolder.set(hold); + }); + })(); serverList.getChildren().add(serverBtn); }); serverHolder.set(serverList.getChildren().get(0)); diff --git a/Launcher/runtime/dialog/overlay/debug/debug.css b/Launcher/runtime/dialog/overlay/debug/debug.css index b4a3e994..ccfc28be 100644 --- a/Launcher/runtime/dialog/overlay/debug/debug.css +++ b/Launcher/runtime/dialog/overlay/debug/debug.css @@ -1,5 +1,3 @@ -@import url(../../styles/common.css); - /* Output */ #overlay > #output { -fx-background-color: white; diff --git a/Launcher/runtime/dialog/overlay/options/options.fxml b/Launcher/runtime/dialog/overlay/options/options.fxml index 46c708a4..9149061a 100644 --- a/Launcher/runtime/dialog/overlay/options/options.fxml +++ b/Launcher/runtime/dialog/overlay/options/options.fxml @@ -3,8 +3,9 @@ - + + @@ -12,14 +13,18 @@ - - - - - - - - + + + + + + +