Fixed text elision of vote amount in polls with reactions.

This commit is contained in:
23rd 2024-03-06 02:32:18 +03:00 committed by John Preston
parent ef474f0dc8
commit 48eb408fb8

View file

@ -803,9 +803,11 @@ void Poll::paintInlineFooter(
p, p,
left, left,
top, top,
std::min( _parent->data()->reactions().empty()
_totalVotesLabel.maxWidth(), ? std::min(
paintw - _parent->bottomInfoFirstLineWidth()), _totalVotesLabel.maxWidth(),
paintw - _parent->bottomInfoFirstLineWidth())
: _totalVotesLabel.maxWidth(),
width()); width());
} }