Merge pull request #99 from cristatus/patch-1

Fix popup shadow issue on Linux

https://github.com/JFormDesigner/FlatLaf/issues/94#issuecomment-626344149
This commit is contained in:
Karl T
2020-05-10 19:25:17 +02:00
committed by GitHub

View File

@@ -61,8 +61,8 @@ public class FlatPopupFactory
if( popup == null )
return super.getPopup( owner, contents, x, y );
// macOS adds drop shadow to heavy weight popups
if( SystemInfo.IS_MAC )
// macOS and Linux adds drop shadow to heavy weight popups
if( SystemInfo.IS_MAC || SystemInfo.IS_LINUX )
return popup;
// create drop shadow popup