Fix PiP cursor after drag/resize finished.

This commit is contained in:
John Preston 2021-06-10 10:39:09 +04:00
parent 2a8055c513
commit fc94045f41
1 changed files with 2 additions and 3 deletions

View File

@ -580,10 +580,9 @@ void PipPanel::handleMousePress(QPoint position, Qt::MouseButton button) {
void PipPanel::handleMouseRelease(QPoint position, Qt::MouseButton button) {
if (button != Qt::LeftButton || !base::take(_pressState)) {
return;
} else if (!base::take(_dragState)) {
//playbackPauseResume();
} else {
} else if (base::take(_dragState)) {
finishDrag(QCursor::pos());
updateOverState(position);
}
}