About menu and settings menu text can now wrap again

This commit is contained in:
Yousef Khadadeh 2025-11-22 13:00:52 +03:00
parent 3cb0e3dbbf
commit ba75f394e8
4 changed files with 16 additions and 20 deletions

View file

@ -103,7 +103,7 @@ bool GUIStuff::FontPicker::update(UpdateInputData& io, std::string* fontName, GU
gui->obstructing_window();
if(Clay_Hovered())
clickedOut = false;
gui->scroll_bar_many_entries_area("Font Selector", ENTRY_HEIGHT, sortedFontList.size(), [fontName, gui, &fontChangedFromSelection, &sortedFontList = sortedFontList, val, &io = io](size_t i, bool listHovered) {
gui->scroll_bar_many_entries_area("Font Selector", ENTRY_HEIGHT, sortedFontList.size(), true, [fontName, gui, &fontChangedFromSelection, &sortedFontList = sortedFontList, val, &io = io](size_t i, bool listHovered) {
bool selectedEntry = val == i;
skia::textlayout::ParagraphStyle pStyle;