mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-12 02:02:20 +00:00
fixed alignment of inline text elements
This commit is contained in:
@@ -1162,7 +1162,7 @@ impl FormattedText {
|
||||
inline,
|
||||
&Rect {
|
||||
position: Vector2::new(x, y),
|
||||
size: desired_size,
|
||||
size: Vector2::new(desired_size.x, line.height),
|
||||
},
|
||||
);
|
||||
bounds = bounds.sup(&desired_size);
|
||||
|
||||
Reference in New Issue
Block a user