mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
fixed tooltip flickering for SplitHeader
This commit is contained in:
parent
ed87d6e2fa
commit
45a1034edf
|
@ -730,7 +730,7 @@ void SplitHeader::enterEvent(QEvent *event)
|
|||
tooltip->setWordWrap(true);
|
||||
tooltip->adjustSize();
|
||||
auto pos = this->mapToGlobal(this->rect().bottomLeft()) +
|
||||
QPoint((this->width() - tooltip->width()) / 2, 0);
|
||||
QPoint((this->width() - tooltip->width()) / 2, 1);
|
||||
|
||||
tooltip->moveTo(this, pos, false);
|
||||
tooltip->show();
|
||||
|
|
Loading…
Reference in a new issue