mirror of
https://github.com/yasirkula/UnityAssetUsageDetector.git
synced 2026-11-19 14:32:37 +08:00
Fixed some references initially being displayed collapsed after the search
This commit is contained in:
@@ -966,6 +966,8 @@ namespace AssetUsageDetectorNamespace
|
||||
for( int i = 0; i < item.children.Count; i++ )
|
||||
shouldExpand |= GetMainReferenceIdsRecursive( item.children[i], ids );
|
||||
}
|
||||
else
|
||||
shouldExpand = true; // No main reference is encountered in this branch; expand the whole branch
|
||||
|
||||
if( shouldExpand )
|
||||
ids.Add( item.id );
|
||||
|
||||
Reference in New Issue
Block a user