1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:27:35 +00:00

CharacterMap: Limit the number of results from the GUI character search

Past a few hundred matches, the search is no longer useful, and takes an
excessive amount of time to recalculate the column widths by measuring
thousands of pieces of text. 250 seems like a reasonable arbitrary
limit, and keeps things nice and snappy. :^)
This commit is contained in:
Sam Atkins 2023-03-05 15:30:36 +00:00 committed by Andreas Kling
parent bb8bd48dc0
commit 1f0f96e6d7
5 changed files with 39 additions and 18 deletions

View file

@ -10,6 +10,7 @@ compile_gml(CharacterSearchWindow.gml CharacterSearchWindowGML.h character_searc
set(SOURCES
CharacterMapWidget.cpp
CharacterSearchWidget.cpp
SearchCharacters.cpp
main.cpp
)