Quick fix.
This commit is contained in:
parent
b19f4cf251
commit
08f2085f41
|
@ -201,7 +201,7 @@ void uiDrawTextLayoutLineGetMetrics(uiDrawTextLayout *tl, int line, uiDrawTextLa
|
|||
m->Height = li.lineRect.size.height;
|
||||
|
||||
// TODO is this correct?
|
||||
m->BaselineY = (m->X + m->Height) - li.baselineOffset;
|
||||
m->BaselineY = (m->Y + m->Height) - li.baselineOffset;
|
||||
|
||||
// TODO
|
||||
m->Ascent = 10000;
|
||||
|
|
Loading…
Reference in New Issue