Fix compilation error now that Widget::font() returns a FontRef

This commit is contained in:
David Capello 2024-11-30 12:57:15 -03:00
parent f10bc52b6c
commit fd5ba19e2f

View File

@ -655,7 +655,7 @@ void Tabs::drawTab(Graphics* g, const gfx::Rect& _box,
tab->textBlob =
text::TextBlob::MakeWithShaper(
theme->fontMgr(),
AddRef(font()),
font(),
tab->text,
nullptr,
text::ShaperFeatures());