Fix black border due to display theme picker minimum width

This commit is contained in:
Ruan Gustavo 2022-02-17 14:46:34 -03:00
parent a03c898328
commit 5e30d24322

View File

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