mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-24 17:26:58 +00:00
parent
c2d5924508
commit
ca3c179b75
@ -931,6 +931,7 @@ void Document::draw(
|
||||
.pausedSpoiler = context.paused || On(PowerSaving::kChatSpoiler),
|
||||
.selection = selection,
|
||||
.highlight = highlightRequest ? &*highlightRequest : nullptr,
|
||||
.useFullWidth = true,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -280,6 +280,7 @@ void Game::draw(Painter &p, const PaintContext &context) const {
|
||||
.selection = toDescriptionSelection(context.selection),
|
||||
.elisionHeight = _descriptionLines * lineHeight,
|
||||
.elisionRemoveFromEnd = endskip,
|
||||
.useFullWidth = true,
|
||||
});
|
||||
tshift += _descriptionLines * lineHeight;
|
||||
}
|
||||
|
@ -245,6 +245,7 @@ void Invoice::draw(Painter &p, const PaintContext &context) const {
|
||||
.pausedEmoji = context.paused || On(PowerSaving::kEmojiChat),
|
||||
.pausedSpoiler = context.paused || On(PowerSaving::kChatSpoiler),
|
||||
.selection = toDescriptionSelection(context.selection),
|
||||
.useFullWidth = true,
|
||||
});
|
||||
tshift += _descriptionHeight;
|
||||
}
|
||||
|
@ -1085,6 +1085,7 @@ void WebPage::draw(Painter &p, const PaintContext &context) const {
|
||||
? (_descriptionLines * lineHeight)
|
||||
: 0),
|
||||
.elisionRemoveFromEnd = (_descriptionLines > 0) ? endskip : 0,
|
||||
.useFullWidth = true,
|
||||
});
|
||||
tshift += (_descriptionLines > 0)
|
||||
? (_descriptionLines * lineHeight)
|
||||
|
Loading…
Reference in New Issue
Block a user