2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-18 14:00:09 +00:00

Use simplified TextStyle.

This commit is contained in:
John Preston
2023-10-12 10:53:40 +04:00
parent cba8387589
commit dd692f2d26
23 changed files with 29 additions and 149 deletions

View File

@@ -170,7 +170,7 @@ void PeerListRowWithLink::rightActionPaint(
int outerWidth,
bool selected,
bool actionSelected) {
p.setFont(actionSelected ? st::linkOverFont : st::linkFont);
p.setFont(actionSelected ? st::linkFontOver : st::linkFont);
p.setPen(actionSelected ? st::defaultLinkButton.overColor : st::defaultLinkButton.color);
p.drawTextLeft(x, y, outerWidth, _action, _actionWidth);
}