Added things

This commit is contained in:
Michael-Jouanneau 2016-12-22 11:24:07 +01:00
parent d7f188fa43
commit bc59d0ccfd
2 changed files with 6 additions and 6 deletions

View File

@ -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 ->{

View File

@ -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;