Quick fix.

This commit is contained in:
Pietro Gagliardi 2017-01-23 14:31:39 -05:00
parent b19f4cf251
commit 08f2085f41
1 changed files with 1 additions and 1 deletions

View File

@ -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;