mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2025-01-19 00:26:27 +01:00
Fix black border due to display picker theme minimum width
This commit is contained in:
parent
5e30d24322
commit
067a214445
@ -89,7 +89,6 @@ public class TitleBarController {
|
||||
stage.getScene().setFill(Color.TRANSPARENT);
|
||||
stage.getScene().getRoot().getStyleClass().add("root-node");
|
||||
|
||||
controller.themeBtn.setVisible(config.displayThemePicker());
|
||||
if (!config.displayMinimizeButton()) {
|
||||
((GridPane) controller.minimizeBtn.getParent()).getChildren().remove(controller.minimizeBtn);
|
||||
}
|
||||
@ -111,7 +110,6 @@ public class TitleBarController {
|
||||
Platform.runLater(() -> titleLabel.setText(title));
|
||||
}
|
||||
|
||||
|
||||
public void handleCloseAction(MouseEvent event) {
|
||||
config.onCloseClicked();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user