mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
Theme Editor: ignore custom UI delegates in preview
This commit is contained in:
@@ -108,6 +108,11 @@ class FlatThemePreview
|
||||
if( !(key instanceof String) )
|
||||
return null;
|
||||
|
||||
// ignore custom UI delegates for preview because those classes
|
||||
// are not available in theme editor
|
||||
if( ((String)key).endsWith( "UI" ) )
|
||||
return null;
|
||||
|
||||
Object value = textArea.propertiesSupport.getParsedProperty( (String) key );
|
||||
if( value instanceof LazyValue )
|
||||
value = ((LazyValue)value).createValue( null );
|
||||
|
||||
Reference in New Issue
Block a user