mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
Fix popup shadow issue on Linux
Linux adds drop shadow to heavy weight popups. So there is no need to draw shadow manually.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user