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:
@@ -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),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user