mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 14:08:41 +00:00
Fixed text elision of vote amount in polls with reactions.
This commit is contained in:
@@ -803,9 +803,11 @@ void Poll::paintInlineFooter(
|
||||
p,
|
||||
left,
|
||||
top,
|
||||
std::min(
|
||||
_totalVotesLabel.maxWidth(),
|
||||
paintw - _parent->bottomInfoFirstLineWidth()),
|
||||
_parent->data()->reactions().empty()
|
||||
? std::min(
|
||||
_totalVotesLabel.maxWidth(),
|
||||
paintw - _parent->bottomInfoFirstLineWidth())
|
||||
: _totalVotesLabel.maxWidth(),
|
||||
width());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user