This commit is contained in:
Craig Raw 2023-11-09 12:31:18 +02:00
parent 7b3e5f37b9
commit 72066395d6

View file

@ -575,7 +575,7 @@ public class AppServices {
}
private static double getReducedWindowHeight() {
return org.controlsfx.tools.Platform.getCurrent() == org.controlsfx.tools.Platform.WINDOWS ? 790d : 768d; //Windows includes menu bar of 22px
return org.controlsfx.tools.Platform.getCurrent() != org.controlsfx.tools.Platform.OSX ? 790d : 768d; //Check for menu bar of ~22px
}
public Application getApplication() {