mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-07 14:30:56 +03:00
IntelliJ Themes: fixed NPE in Solarized themes on scroll bar hover
This commit is contained in:
@@ -16,6 +16,7 @@ FlatLaf Change Log
|
|||||||
|
|
||||||
- Custom window decorations: Embedded menu bar did not always respond to mouse
|
- Custom window decorations: Embedded menu bar did not always respond to mouse
|
||||||
events after adding menus and when running in JetBrains Runtime. (issue #151)
|
events after adding menus and when running in JetBrains Runtime. (issue #151)
|
||||||
|
- IntelliJ Themes: Fixed NPE in Solarized themes on scroll bar hover.
|
||||||
|
|
||||||
|
|
||||||
## 0.39
|
## 0.39
|
||||||
|
|||||||
@@ -263,6 +263,9 @@ public class IntelliJTheme
|
|||||||
for( Map.Entry<String, Object> e : ((Map<String, Object>)value).entrySet() )
|
for( Map.Entry<String, Object> e : ((Map<String, Object>)value).entrySet() )
|
||||||
apply( key + '.' + e.getKey(), e.getValue(), defaults, defaultsKeysCache, uiKeys );
|
apply( key + '.' + e.getKey(), e.getValue(), defaults, defaultsKeysCache, uiKeys );
|
||||||
} else {
|
} else {
|
||||||
|
if( "".equals( value ) )
|
||||||
|
return; // ignore empty value
|
||||||
|
|
||||||
uiKeys.add( key );
|
uiKeys.add( key );
|
||||||
|
|
||||||
// fix ComboBox size and Spinner border in all Material UI Lite themes
|
// fix ComboBox size and Spinner border in all Material UI Lite themes
|
||||||
|
|||||||
Reference in New Issue
Block a user