Fix positioning ui::label lines
This commit is contained in:
parent
b167e06898
commit
ccfe940448
1 changed files with 1 additions and 1 deletions
|
|
@ -561,7 +561,7 @@ namespace psemek::ui
|
|||
if (items[i].character && std::isspace(*items[i].character))
|
||||
++spaces;
|
||||
|
||||
geom::vector<float, 2> offset{0.f, current_y};
|
||||
geom::vector<float, 2> offset{0.f, current_y - line_bbox[l][1].min};
|
||||
float space_extra = 0.f;
|
||||
|
||||
switch (halign_)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue