mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-10 22:17:13 -06:00
Recalculate geometry after styling in FlatSliderUI
This commit is contained in:
@@ -227,7 +227,11 @@ public class FlatSliderUI
|
||||
|
||||
/** @since 2 */
|
||||
protected void applyStyle( Object style ) {
|
||||
boolean recalc = ( oldStyleValues != null && !oldStyleValues.isEmpty() );
|
||||
oldStyleValues = FlatStylingSupport.parseAndApply( oldStyleValues, style, this::applyStyleProperty );
|
||||
recalc |= ( oldStyleValues != null && !oldStyleValues.isEmpty() );
|
||||
if( recalc )
|
||||
calculateGeometry();
|
||||
}
|
||||
|
||||
/** @since 2 */
|
||||
|
||||
Reference in New Issue
Block a user