@@ -3654,7 +3654,7 @@ QRect HistoryWidget::getMembersShowAreaGeometry() const {
3654
3654
int membersTextWidth = _titlePeerTextWidth;
3655
3655
int membersTextHeight = st::topBarHeight - membersTextTop;
3656
3656
3657
- return rtlrect (membersTextLeft, membersTextTop, membersTextWidth, membersTextHeight, width () );
3657
+ return myrtlrect (membersTextLeft, membersTextTop, membersTextWidth, membersTextHeight);
3658
3658
}
3659
3659
3660
3660
void HistoryWidget::setMembersShowAreaActive (bool active) {
@@ -6093,7 +6093,7 @@ void HistoryWidget::paintEditHeader(Painter &p, const QRect &rect, int left, int
6093
6093
}
6094
6094
6095
6095
p.setFont (st::msgServiceNameFont);
6096
- p.drawTextLeft (left, top + st::msgReplyPadding.top () + st::msgServiceNameFont-> ascent , width (), lang (lng_edit_message));
6096
+ p.drawTextLeft (left, top + st::msgReplyPadding.top (), width (), lang (lng_edit_message));
6097
6097
6098
6098
if (!_replyEditMsg) return ;
6099
6099
@@ -6163,7 +6163,7 @@ void HistoryWidget::drawPinnedBar(Painter &p) {
6163
6163
p.fillRect (myrtlrect (0 , top, _chatWidth, st::historyReplyHeight), st::historyPinnedBg);
6164
6164
6165
6165
top += st::msgReplyPadding.top ();
6166
- QRect rbar (rtlrect (st::msgReplyBarSkip + st::msgReplyBarPos.x (), top + st::msgReplyBarPos.y (), st::msgReplyBarSize.width (), st::msgReplyBarSize.height (), _chatWidth ));
6166
+ QRect rbar (myrtlrect (st::msgReplyBarSkip + st::msgReplyBarPos.x (), top + st::msgReplyBarPos.y (), st::msgReplyBarSize.width (), st::msgReplyBarSize.height ()));
6167
6167
p.fillRect (rbar, st::msgInReplyBarColor);
6168
6168
6169
6169
int32 left = st::msgReplyBarSkip + st::msgReplyBarSkip;
0 commit comments