mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fixed display of title in sponsored messages with shorter description.
This commit is contained in:
parent
339d7be9c1
commit
5d71286000
1 changed files with 1 additions and 1 deletions
|
@ -1077,7 +1077,7 @@ void WebPage::draw(Painter &p, const PaintContext &context) const {
|
|||
? _parent->skipBlockWidth()
|
||||
: 0;
|
||||
const auto titleWidth = sponsored
|
||||
? (paintw - _pixh - st::webPagePhotoDelta)
|
||||
? (paintw - (_pixh ? (_pixh - st::webPagePhotoDelta) : 0))
|
||||
: paintw;
|
||||
_title.drawLeftElided(
|
||||
p,
|
||||
|
|
Loading…
Add table
Reference in a new issue