Merge pull request #3067 from cg2121/projector-settings

UI: Auto update projector settings
This commit is contained in:
Jim authored and GitHub committed 2020-06-21 05:22:00 -07:00
commit 211ba0b72a
5 files changed
+32 -5

No files matched your search

+12
View File
@@ -7977,3 +7977,15 @@ void OBSBasic::on_customContextMenuRequested(const QPoint &pos)
if (!className || strstr(className, "Dock") != nullptr)
ui->viewMenuDocks->exec(mapToGlobal(pos));
}
void OBSBasic::UpdateProjectorHideCursor()
{
for (size_t i = 0; i < projectors.size(); i++)
projectors[i]->SetHideCursor();
}
void OBSBasic::UpdateProjectorAlwaysOnTop(bool top)
{
for (size_t i = 0; i < projectors.size(); i++)
SetAlwaysOnTop(projectors[i], top);
}