Limit the number of auto-complete options for performance

This commit is contained in:
Benjamin Popp
2019-11-18 20:51:16 -06:00
parent d09751cd67
commit f68852b310

View File

@@ -1195,6 +1195,8 @@ namespace HavenSoft.HexManiac.Core.Models {
}
}
// limit it to the first 80 options for performance
if (results.Count > 80) results.RemoveRange(80, results.Count - 80);
return results;
}