mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 14:00:55 +03:00
Popup: fixed UnsupportedOperationException: PERPIXEL_TRANSLUCENT translucency is not supported exception on Haiku OS when showing popup (partly) outside of window (issue #869)
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
FlatLaf Change Log
|
||||
==================
|
||||
|
||||
## 3.5.1-SNAPSHOT
|
||||
|
||||
#### Fixed bugs
|
||||
|
||||
- Popup: Fixed `UnsupportedOperationException: PERPIXEL_TRANSLUCENT translucency
|
||||
is not supported` exception on Haiku OS when showing popup (partly) outside of
|
||||
window. (issue #869)
|
||||
|
||||
|
||||
## 3.5
|
||||
|
||||
#### New features and improvements
|
||||
|
||||
@@ -139,7 +139,10 @@ public class FlatPopupFactory
|
||||
forceHeavyWeight = true;
|
||||
|
||||
// create drop shadow popup
|
||||
return new DropShadowPopup( getPopupForScreenOfOwner( owner, contents, x, y, forceHeavyWeight ), owner, contents );
|
||||
Popup popupForScreenOfOwner = getPopupForScreenOfOwner( owner, contents, x, y, forceHeavyWeight );
|
||||
return owner.getGraphicsConfiguration().isTranslucencyCapable()
|
||||
? new DropShadowPopup( popupForScreenOfOwner, owner, contents )
|
||||
: new NonFlashingPopup( popupForScreenOfOwner, owner, contents );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#
|
||||
|
||||
flatlaf.releaseVersion = 3.5
|
||||
flatlaf.developmentVersion = 3.6-SNAPSHOT
|
||||
flatlaf.developmentVersion = 3.5.1-SNAPSHOT
|
||||
|
||||
org.gradle.parallel = true
|
||||
# org.gradle.warning.mode = all
|
||||
|
||||
Reference in New Issue
Block a user