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

Add helper struct Align2

This commit is contained in:
Emil Ernerfeldt
2021-01-10 10:51:16 +01:00
parent 1b3a5e5b50
commit 72ed94fcb3
5 changed files with 68 additions and 51 deletions

View File

@@ -91,7 +91,7 @@ impl FrameHistory {
cmds.push(PaintCmd::text(
ui.fonts(),
pos2(rect.left(), y),
align::LEFT_BOTTOM,
egui::align::Align2::LEFT_BOTTOM,
text,
TextStyle::Monospace,
Color32::WHITE,