Merge pull request #2106 from cg2121/fix-preview-bug
UI: Fix issue with preview projector
This commit is contained in:
commit
7ed8f05f21
1 changed files with 3 additions and 0 deletions
|
|
@ -653,6 +653,9 @@ void OBSProjector::OBSRender(void *data, uint32_t cx, uint32_t cy)
|
|||
source = curSource;
|
||||
window->source = source;
|
||||
}
|
||||
} else if (window->type == ProjectorType::Preview &&
|
||||
!main->IsPreviewProgramMode()) {
|
||||
window->source = nullptr;
|
||||
}
|
||||
|
||||
if (source)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue