1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Update crates/egui/src/widgets/text_edit/builder.rs

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
This commit is contained in:
RndUsr123
2026-03-25 14:22:57 +00:00
committed by GitHub
parent a422dbb914
commit fb6e59240b

View File

@@ -651,7 +651,7 @@ impl TextEdit<'_> {
}
// Push suffix to the right and enable alignment for the main text
if align.0[0] != Align::RIGHT {
if align.x() != Align::RIGHT {
atoms.push_right(Atom::grow());
}