Skip to content

Commit 77cafec

Browse files
author
Tom Kail
committed
draw ink icons even if not created (allow instantiating)
1 parent b017250 commit 77cafec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/Ink/Editor/Tools/File Icons/InkBrowserIcons.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ static InkBrowserIcons() {
110110

111111
static void OnDrawProjectWindowItem(string guid, Rect rect) {
112112
string path = AssetDatabase.GUIDToAssetPath(guid);
113-
if (Path.GetExtension(path) == InkEditorUtils.inkFileExtension && InkLibrary.created) {
113+
if (Path.GetExtension(path) == InkEditorUtils.inkFileExtension) {
114114
DefaultAsset asset = AssetDatabase.LoadAssetAtPath<DefaultAsset>(path);
115115
DrawInkFile(InkLibrary.GetInkFileWithFile(asset), rect);
116116
}

0 commit comments

Comments
 (0)