Merge branch 'flatlaf-3.5.4' into main

This commit is contained in:
Karl Tauber
2024-12-09 01:12:27 +01:00
3 changed files with 11 additions and 3 deletions

View File

@@ -7,12 +7,18 @@ FlatLaf Change Log
- Tree: Support for alternate row highlighting. (PR #903)
- Extras: `FlatSVGIcon` color filters now can access painting component to
implement component state based color mappings. (PR #906)
implement component state based color mappings. (issue #906)
## 3.5.4
#### Fixed bugs
- HTML: Fixed NPE when using HTML text on a component with `null` font. (issue
#930; PR #931; regression in 3.5)
- Linux: Fixed NPE when using FlatLaf window decorations and switching theme.
(issue #933; regression in 3.5.3)
## 3.5.3

View File

@@ -272,7 +272,8 @@ public abstract class FlatWindowResizer
public void doLayout() {
super.doLayout();
centerComp.setBounds( 0, 0, resizeComp.getWidth(), resizeComp.getHeight() );
if( centerComp != null && centerComp.isVisible() )
centerComp.setBounds( 0, 0, resizeComp.getWidth(), resizeComp.getHeight() );
}
@Override
@@ -376,6 +377,7 @@ public abstract class FlatWindowResizer
@Override
protected void beginResizing( int resizeDir ) {
centerComp.setBounds( 0, 0, resizeComp.getWidth(), resizeComp.getHeight() );
centerComp.setCursor( getPredefinedCursor( resizeDir ) );
centerComp.setVisible( true );
}

View File

@@ -14,7 +14,7 @@
# limitations under the License.
#
flatlaf.releaseVersion = 3.5.3
flatlaf.releaseVersion = 3.5.4
flatlaf.developmentVersion = 3.6-SNAPSHOT
org.gradle.parallel = true