Make Constructor toggle button actually do something

This commit is contained in:
Sinai 2022-03-15 01:18:12 +11:00
parent d7ab0a23c6
commit dc81451ce5

View File

@ -262,7 +262,8 @@ namespace UnityExplorer.Inspectors
if ((member is CacheMethod && !MemberFilter.HasFlag(MemberFlags.Method))
|| (member is CacheField && !MemberFilter.HasFlag(MemberFlags.Field))
|| (member is CacheProperty && !MemberFilter.HasFlag(MemberFlags.Property)))
|| (member is CacheProperty && !MemberFilter.HasFlag(MemberFlags.Property))
|| (member is CacheConstructor && !MemberFilter.HasFlag(MemberFlags.Constructor)))
continue;
if (!string.IsNullOrEmpty(NameFilter) && !member.NameForFiltering.ContainsIgnoreCase(NameFilter))