mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-15 02:15:34 -04:00
launcher: fix session window opening, change menu button color to primary
This commit is contained in:
parent
107a2bb5ac
commit
e85434d6b5
@ -417,7 +417,7 @@ public class ServerListCell extends ListCell<Server> implements Initializable {
|
||||
|
||||
public void manageSessions() {
|
||||
try {
|
||||
SessionsWindow sessionsWindow = GUITools.showPane("/layout/dialogs/login_mojang.fxml", Modality.APPLICATION_MODAL, LocaleManager.translate(Strings.SESSIONS_DIALOG_TITLE, this.server.getName()));
|
||||
SessionsWindow sessionsWindow = GUITools.showPane("/layout/sessions.fxml", Modality.APPLICATION_MODAL, LocaleManager.translate(Strings.SESSIONS_DIALOG_TITLE, this.server.getName().getMessage()));
|
||||
sessionsWindow.setServer(this.server);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
|
@ -79,11 +79,11 @@
|
||||
}
|
||||
|
||||
.list-cell:selected {
|
||||
-fx-background-color: #03111f;
|
||||
-fx-background-color: -secondary-dark-color;
|
||||
}
|
||||
|
||||
.list-cell:filled:hover {
|
||||
-fx-background-color: #566171;
|
||||
-fx-background-color: -secondary-light-color;
|
||||
}
|
||||
|
||||
.menu-bar {
|
||||
@ -108,7 +108,7 @@
|
||||
}
|
||||
|
||||
.menu-button {
|
||||
-fx-background-color: -secondary-light-color;
|
||||
-fx-background-color: -primary-dark-color;
|
||||
-fx-text-fill: -secondary-text-color;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user