mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Moved selection marks to bottom of message bubbles.
This commit is contained in:
parent
ed9dcef66f
commit
975ae17ef9
2 changed files with 2 additions and 1 deletions
|
@ -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());
|
||||
|
|
|
@ -27,6 +27,7 @@ msgMargin: margins(16px, 6px, 56px, 2px);
|
|||
msgMarginTopAttached: 0px;
|
||||
msgShadow: 2px;
|
||||
msgSelectionOffset: 30px;
|
||||
msgSelectionBottomSkip: 5px;
|
||||
|
||||
historyReplyTop: 2px;
|
||||
historyReplyBottom: 2px;
|
||||
|
|
Loading…
Add table
Reference in a new issue