Browse Source

UI: Allow editing outside of inner preview bounds

jp9000 11 years ago
parent
commit
f937d66fab
1 changed files with 1 additions and 2 deletions
  1. 1 2
      obs/window-basic-preview.cpp

+ 1 - 2
obs/window-basic-preview.cpp

@@ -296,8 +296,7 @@ void OBSBasicPreview::mousePressEvent(QMouseEvent *event)
 	float x = float(event->x()) - main->previewX;
 	float x = float(event->x()) - main->previewX;
 	float y = float(event->y()) - main->previewY;
 	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;
 		return;
 
 
 	mouseDown = true;
 	mouseDown = true;