Bugfix For Window & Linux

[skip ci]
This commit is contained in:
Stef Tervelde
2025-03-15 06:49:32 +01:00
parent b9e7f55cb3
commit af02ef17e8
+1 -1
View File
@@ -208,7 +208,7 @@ public abstract class Editor extends JFrame implements RunnerListener {
Box box = Box.createVerticalBox();
Box upper = Box.createVerticalBox();
if(SystemInfo.isMacFullWindowContentSupported) {
if(Platform.isMacOS() && SystemInfo.isMacFullWindowContentSupported) {
getRootPane().putClientProperty( "apple.awt.fullWindowContent", true );
getRootPane().putClientProperty( "apple.awt.transparentTitleBar", true );