diff --git a/Telegram/SourceFiles/history/view/history_view_message.cpp b/Telegram/SourceFiles/history/view/history_view_message.cpp index b24546abf..51be68d40 100644 --- a/Telegram/SourceFiles/history/view/history_view_message.cpp +++ b/Telegram/SourceFiles/history/view/history_view_message.cpp @@ -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()); diff --git a/Telegram/SourceFiles/ui/chat/chat.style b/Telegram/SourceFiles/ui/chat/chat.style index cb30fdf47..2f9af4f2b 100644 --- a/Telegram/SourceFiles/ui/chat/chat.style +++ b/Telegram/SourceFiles/ui/chat/chat.style @@ -27,6 +27,7 @@ msgMargin: margins(16px, 6px, 56px, 2px); msgMarginTopAttached: 0px; msgShadow: 2px; msgSelectionOffset: 30px; +msgSelectionBottomSkip: 5px; historyReplyTop: 2px; historyReplyBottom: 2px;