Moved selection marks to bottom of message bubbles.

This commit is contained in:
23rd 2024-10-18 02:57:26 +03:00 committed by John Preston
parent ed9dcef66f
commit 975ae17ef9
2 changed files with 2 additions and 1 deletions

View file

@ -1628,7 +1628,7 @@ void Message::draw(Painter &p, const PaintContext &context) const {
- (st::msgSelectionOffset * progress - st.size) / 2
- st::msgPadding.right() / 2
- st.size),
g.y() + (g.height() - st.size) / 2);
rect::bottom(g) - st.size - st::msgSelectionBottomSkip);
{
p.setPen(QPen(st.border, st.width));
p.setBrush(context.st->msgServiceBg());

View file

@ -27,6 +27,7 @@ msgMargin: margins(16px, 6px, 56px, 2px);
msgMarginTopAttached: 0px;
msgShadow: 2px;
msgSelectionOffset: 30px;
msgSelectionBottomSkip: 5px;
historyReplyTop: 2px;
historyReplyBottom: 2px;