mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fixed width of name text in replies with block quote icon.
This commit is contained in:
@@ -732,7 +732,11 @@ void Reply::paint(
|
||||
const auto textw = w
|
||||
- st::historyReplyPadding.left()
|
||||
- st::historyReplyPadding.right();
|
||||
const auto namew = textw - previewSkip;
|
||||
const auto namew = textw
|
||||
- previewSkip
|
||||
- (_hasQuoteIcon
|
||||
? st::messageTextStyle.blockquote.icon.width()
|
||||
: 0);
|
||||
auto firstLineSkip = _nameTwoLines ? 0 : previewSkip;
|
||||
if (namew > 0) {
|
||||
p.setPen(!inBubble
|
||||
|
Reference in New Issue
Block a user