Fix positioning ui::label lines

This commit is contained in:
Nikita Lisitsa 2022-05-29 11:46:23 +03:00
parent b167e06898
commit ccfe940448

View file

@ -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_)