Cleanup 7

This commit is contained in:
W2.Wizard
2021-02-21 13:50:25 +01:00
parent d87f0df2a6
commit 597a9c537d
13 changed files with 139 additions and 230 deletions

View File

@@ -615,9 +615,7 @@ namespace FlaxEditor.Windows
/// <inheritdoc />
public override void OnLayoutDeserialize(XmlElement node)
{
int value1;
if (int.TryParse(node.GetAttribute("LogTypeShowMask"), out value1))
if (int.TryParse(node.GetAttribute("LogTypeShowMask"), out int value1))
_logTypeShowMask = value1;
}

View File

@@ -197,8 +197,7 @@ namespace FlaxEditor.Windows
{
var text = actorType.Name;
QueryFilterHelper.Range[] ranges;
if (!QueryFilterHelper.Match(filterText, text, out ranges))
if (!QueryFilterHelper.Match(filterText, text, out QueryFilterHelper.Range[] ranges))
continue;
var item = _groupSearch.AddChild(CreateActorItem(CustomEditors.CustomEditorsUtil.GetPropertyNameUI(text), actorType));