diff --git a/src/Launcher/Main.java b/src/Launcher/Main.java index c228098..7202313 100644 --- a/src/Launcher/Main.java +++ b/src/Launcher/Main.java @@ -204,12 +204,12 @@ public class Main extends Application { dragbar_1 = (Pane) Tabs.load("instance_userinfo").lookup("#dragbar-1"); dragbar_1.setOnMousePressed(event4 -> { - xOffset = event.getSceneX(); - yOffset = event.getSceneY(); + xOffset = event4.getSceneX(); + yOffset = event4.getSceneY(); }); dragbar_1.setOnMouseDragged(event4 -> { - login.setX(event.getScreenX() - xOffset); - login.setY(event.getScreenY() - yOffset); + login.setX(event4.getScreenX() - xOffset); + login.setY(event4.getScreenY() - yOffset); }); minecraftlogin.lookup("#close-minecraft-login-window").setOnMouseClicked(event4 ->{ diff --git a/src/assets/style/default-theme.css b/src/assets/style/default-theme.css index fc3ee57..c5911be 100644 --- a/src/assets/style/default-theme.css +++ b/src/assets/style/default-theme.css @@ -146,12 +146,12 @@ -fx-border-color: white; -fx-border-width: 0px 0px 2px 0px; } -#minecraft-login { +#minecraft-login, #close-minecraft-login-window { -fx-background-color: #252525; -fx-background-radius: 0em; -fx-text-fill: white; } -#minecraft-login:hover { +#minecraft-login:hover, #close-minecraft-login-window:hover{ -fx-background-color: #bcbcbc; -fx-background-radius: 0em; -fx-text-fill: black;