1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-22 17:48:01 +02:00

Improved performance of fuzzy string matching

This commit is contained in:
Simon Lübeß 2021-12-18 22:28:44 +01:00
parent b70745ef1e
commit 04888b8f10
4 changed files with 79 additions and 70 deletions

View file

@ -409,7 +409,7 @@ namespace IDE.ui
for(char32 c in mEntryDisplay.DecodedChars)
loop:
{
if(mMatchIndices.Contains((uint8)index))
if(mMatchIndices?.Contains((uint8)index) == true)
{
g.PushColor(DarkTheme.COLOR_MENU_FOCUSED);
defer:loop g.PopColor();