mirror of
https://github.com/haven1433/HexManiacAdvance.git
synced 2026-10-03 05:36:34 -05:00
Limit the number of auto-complete options for performance
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user