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