Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit aa29449

Browse files
Merge pull request #697 from github-for-unity/fixes/project-window-interface-icon-overlay
Fixing Asset Explorer icon overlays
2 parents 9e0666b + 59a2653 commit aa29449

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/ProjectWindowInterface.cs

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -183,24 +183,7 @@ private static void OnStatusUpdate()
183183
guids.Clear();
184184
for (var index = 0; index < entries.Count; ++index)
185185
{
186-
var gitStatusEntry = entries[index];
187-
188-
var path = gitStatusEntry.ProjectPath;
189-
if (gitStatusEntry.Status == GitFileStatus.Ignored)
190-
{
191-
continue;
192-
}
193-
194-
if (!path.StartsWith("Assets", StringComparison.CurrentCultureIgnoreCase))
195-
{
196-
continue;
197-
}
198-
199-
if (path.EndsWith(".meta", StringComparison.CurrentCultureIgnoreCase))
200-
{
201-
continue;
202-
}
203-
186+
var path = entries[index].ProjectPath;
204187
var guid = AssetDatabase.AssetPathToGUID(path);
205188
guids.Add(guid);
206189
}

0 commit comments

Comments
 (0)