mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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) {
|
if (e->button() != Qt::LeftButton) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
updateOverState(e->pos());
|
||||||
_pressState = _overState;
|
_pressState = _overState;
|
||||||
_pressPoint = e->globalPos();
|
_pressPoint = e->globalPos();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue