Cleanup 1

This commit is contained in:
W2.Wizard
2021-02-21 10:05:47 +01:00
parent 115d6e46a8
commit 52bc268ee7
12 changed files with 126 additions and 67 deletions

View File

@@ -120,9 +120,8 @@ namespace FlaxEditor.Content
}
else
{
QueryFilterHelper.Range[] ranges;
var text = Text;
if (QueryFilterHelper.Match(filterText, text, out ranges))
if (QueryFilterHelper.Match(filterText, text, out QueryFilterHelper.Range[] ranges))
{
// Update highlights
if (_highlights == null)