UI: Add Transition Previews
This commit adds a preview to the properties window for transitions. The preview will play back the transition at the global transition duration or the transitions fixed duration, between two private scenes with an A and B label, and different background colors.
This commit is contained in:
parent
52235ba86d
commit
16484e07e9
7 changed files with 229 additions and 1 deletions
|
|
@ -3423,6 +3423,11 @@ void OBSBasic::SetService(obs_service_t *newService)
|
|||
service = newService;
|
||||
}
|
||||
|
||||
int OBSBasic::GetTransitionDuration()
|
||||
{
|
||||
return ui->transitionDuration->value();
|
||||
}
|
||||
|
||||
bool OBSBasic::StreamingActive() const
|
||||
{
|
||||
if (!outputHandler)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue