mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-26 18:30:52 +01:00
Fix black border due to display theme picker minimum width
This commit is contained in:
parent
a03c898328
commit
5e30d24322
@ -93,6 +93,10 @@ public class TitleBarController {
|
|||||||
if (!config.displayMinimizeButton()) {
|
if (!config.displayMinimizeButton()) {
|
||||||
((GridPane) controller.minimizeBtn.getParent()).getChildren().remove(controller.minimizeBtn);
|
((GridPane) controller.minimizeBtn.getParent()).getChildren().remove(controller.minimizeBtn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!config.displayThemePicker()) {
|
||||||
|
((GridPane) controller.themeBtn.getParent()).getChildren().remove(controller.themeBtn);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
return controller;
|
return controller;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user