Browse Source

UI: Simplify resize output code

Clayton Groeneveld 6 năm trước cách đây
mục cha
commit
5f5ba54a66
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      UI/window-basic-main.cpp

+ 1 - 2
UI/window-basic-main.cpp

@@ -7237,8 +7237,7 @@ void OBSBasic::on_actionShowAbout_triggered()
 
 void OBSBasic::ResizeOutputSizeOfSource()
 {
-	if (ui->streamButton->isChecked() || ui->recordButton->isChecked() ||
-	    (replayBufferButton && replayBufferButton->isChecked()))
+	if (obs_video_active())
 		return;
 
 	QMessageBox resize_output(this);