1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 13:50:04 -04:00

Simplify text layout further with even less allocations

This commit is contained in:
Emil Ernerfeldt
2020-05-16 18:17:35 +02:00
parent d3a3e4fa73
commit 89aa285255
9 changed files with 152 additions and 158 deletions

View File

@@ -91,10 +91,10 @@ impl CollapsingHeader {
paint_icon(ui, &state, &interact);
ui.add_text(
ui.add_galley(
text_pos,
galley,
label.text_style,
galley.fragments,
Some(ui.style().interact(&interact).stroke_color),
);