mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 07:33:52 +02:00
Fix PiP cursor after drag/resize finished.
This commit is contained in:
parent
2a8055c513
commit
fc94045f41
1 changed files with 2 additions and 3 deletions
|
@ -580,10 +580,9 @@ void PipPanel::handleMousePress(QPoint position, Qt::MouseButton button) {
|
||||||
void PipPanel::handleMouseRelease(QPoint position, Qt::MouseButton button) {
|
void PipPanel::handleMouseRelease(QPoint position, Qt::MouseButton button) {
|
||||||
if (button != Qt::LeftButton || !base::take(_pressState)) {
|
if (button != Qt::LeftButton || !base::take(_pressState)) {
|
||||||
return;
|
return;
|
||||||
} else if (!base::take(_dragState)) {
|
} else if (base::take(_dragState)) {
|
||||||
//playbackPauseResume();
|
|
||||||
} else {
|
|
||||||
finishDrag(QCursor::pos());
|
finishDrag(QCursor::pos());
|
||||||
|
updateOverState(position);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue