mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-22 09:07:05 +02:00
Fix possible crash in PiP drag.
This commit is contained in:
parent
3822845f86
commit
326574ab7e
1 changed files with 1 additions and 0 deletions
|
@ -598,6 +598,7 @@ void PipPanel::mousePressEvent(QMouseEvent *e) {
|
|||
if (e->button() != Qt::LeftButton) {
|
||||
return;
|
||||
}
|
||||
updateOverState(e->pos());
|
||||
_pressState = _overState;
|
||||
_pressPoint = e->globalPos();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue