Skip to content

Commit

Permalink
fix: ReplyThreadPopup pos
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz committed Sep 17, 2023
1 parent 3ce746c commit e49524d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/widgets/helper/ChannelView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3034,8 +3034,9 @@ void ChannelView::showReplyThreadPopup(const MessagePtr &message)
popup->setThread(message->replyThread);

QPoint offset(int(150 * this->scale()), int(70 * this->scale()));
popup->move(QCursor::pos() - offset);
popup->show();
popup->moveTo(QCursor::pos() - offset,
BaseWindow::BoundsChecker::CursorPosition);
popup->giveFocus(Qt::MouseFocusReason);
}

Expand Down

0 comments on commit e49524d

Please sign in to comment.