mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-13 15:27:16 -06:00
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:
@@ -61,8 +61,8 @@ public class FlatPopupFactory
|
|||||||
if( popup == null )
|
if( popup == null )
|
||||||
return super.getPopup( owner, contents, x, y );
|
return super.getPopup( owner, contents, x, y );
|
||||||
|
|
||||||
// macOS adds drop shadow to heavy weight popups
|
// macOS and Linux adds drop shadow to heavy weight popups
|
||||||
if( SystemInfo.IS_MAC )
|
if( SystemInfo.IS_MAC || SystemInfo.IS_LINUX )
|
||||||
return popup;
|
return popup;
|
||||||
|
|
||||||
// create drop shadow popup
|
// create drop shadow popup
|
||||||
|
|||||||
Reference in New Issue
Block a user