mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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::msgSelectionOffset * progress - st.size) / 2
|
||||||
- st::msgPadding.right() / 2
|
- st::msgPadding.right() / 2
|
||||||
- st.size),
|
- st.size),
|
||||||
g.y() + (g.height() - st.size) / 2);
|
rect::bottom(g) - st.size - st::msgSelectionBottomSkip);
|
||||||
{
|
{
|
||||||
p.setPen(QPen(st.border, st.width));
|
p.setPen(QPen(st.border, st.width));
|
||||||
p.setBrush(context.st->msgServiceBg());
|
p.setBrush(context.st->msgServiceBg());
|
||||||
|
|
|
@ -27,6 +27,7 @@ msgMargin: margins(16px, 6px, 56px, 2px);
|
||||||
msgMarginTopAttached: 0px;
|
msgMarginTopAttached: 0px;
|
||||||
msgShadow: 2px;
|
msgShadow: 2px;
|
||||||
msgSelectionOffset: 30px;
|
msgSelectionOffset: 30px;
|
||||||
|
msgSelectionBottomSkip: 5px;
|
||||||
|
|
||||||
historyReplyTop: 2px;
|
historyReplyTop: 2px;
|
||||||
historyReplyBottom: 2px;
|
historyReplyBottom: 2px;
|
||||||
|
|
Loading…
Add table
Reference in a new issue