UI: Allow editing outside of inner preview bounds

This commit is contained in:
jp9000
2014-06-16 15:38:43 -07:00
parent 111c4e84d2
commit f937d66fab
+1 -2
View File
@@ -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;