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 = tab->textBlob =
text::TextBlob::MakeWithShaper( text::TextBlob::MakeWithShaper(
theme->fontMgr(), theme->fontMgr(),
AddRef(font()), font(),
tab->text, tab->text,
nullptr, nullptr,
text::ShaperFeatures()); text::ShaperFeatures());