We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7680c3a commit 7e6dc26Copy full SHA for 7e6dc26
1 file changed
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatSliderUI.java
@@ -227,7 +227,11 @@ protected void installStyle() {
227
228
/** @since 2 */
229
protected void applyStyle( Object style ) {
230
+ boolean recalc = ( oldStyleValues != null && !oldStyleValues.isEmpty() );
231
oldStyleValues = FlatStylingSupport.parseAndApply( oldStyleValues, style, this::applyStyleProperty );
232
+ recalc |= ( oldStyleValues != null && !oldStyleValues.isEmpty() );
233
+ if( recalc )
234
+ calculateGeometry();
235
}
236
237
0 commit comments