FlatSVGIcon: added missing javadoc and updated CHANGELOG.md

This commit is contained in:
Karl Tauber
2021-04-18 17:43:12 +02:00
parent 00dc7004f5
commit 6eb15ab437
2 changed files with 12 additions and 0 deletions

View File

@@ -479,6 +479,13 @@ public class FlatSVGIcon
private static Boolean darkLaf;
/**
* Checks whether the current look and feel is dark.
* <p>
* Uses {@link FlatLaf#isLafDark()} and caches the result.
*
* @since 1.2
*/
public static boolean isDarkLaf() {
if( darkLaf == null ) {
lafChanged();