mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 16:15:13 +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
|
const auto textw = w
|
||||||
- st::historyReplyPadding.left()
|
- st::historyReplyPadding.left()
|
||||||
- st::historyReplyPadding.right();
|
- 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;
|
auto firstLineSkip = _nameTwoLines ? 0 : previewSkip;
|
||||||
if (namew > 0) {
|
if (namew > 0) {
|
||||||
p.setPen(!inBubble
|
p.setPen(!inBubble
|
||||||
|
Reference in New Issue
Block a user