UI: Allow editing outside of inner preview bounds
This commit is contained in:
parent
111c4e84d2
commit
f937d66fab
1 changed files with 1 additions and 2 deletions
|
|
@ -296,8 +296,7 @@ void OBSBasicPreview::mousePressEvent(QMouseEvent *event)
|
|||
float x = float(event->x()) - main->previewX;
|
||||
float y = float(event->y()) - main->previewY;
|
||||
|
||||
if (event->button() != Qt::LeftButton ||
|
||||
x < 0.0f || y < 0.0f || x > main->previewCX || y > main->previewCY)
|
||||
if (event->button() != Qt::LeftButton)
|
||||
return;
|
||||
|
||||
mouseDown = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue