Skip to content

Commit e627c94

Browse files
committed
fix error when coloring from context menu
1 parent 803cb6f commit e627c94

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Assets/RainbowFoldersAsset/RainbowFolders/Editor/Menu/FolderColorsStorage.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ private static void LoadFromResources()
4545

4646
public static FolderColorsStorage GetInstance()
4747
{
48+
if (instance == null)
49+
{
50+
LoadFromResources();
51+
}
4852
if (instance == null)
4953
{
5054
throw new NullReferenceException("Storage of colorful folder icons was not initialized correctly");

0 commit comments

Comments
 (0)