From 802f8714efbfc465f52f56a357105b586c725f44 Mon Sep 17 00:00:00 2001 From: True Zhuanjia Date: Thu, 11 Jul 2024 03:13:49 +0800 Subject: [PATCH] cancel immediate opening of osc layout tool in setting view during streaming --- Limelight/ViewControllers/SettingsViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Limelight/ViewControllers/SettingsViewController.m b/Limelight/ViewControllers/SettingsViewController.m index cb984777..974ff4aa 100644 --- a/Limelight/ViewControllers/SettingsViewController.m +++ b/Limelight/ViewControllers/SettingsViewController.m @@ -477,7 +477,7 @@ BOOL isCustomResolution(CGSize res) { style:UIAlertActionStyleDefault handler:^(UIAlertAction *action) { // Continue execution after the alert is dismissed - [self invokeOscLayout]; + if(!self->_mainFrameViewController.settingsExpandedInStreamView) [self invokeOscLayout]; //don't open osc layout tool immediately during streaming NSLog(@"OK button tapped"); }]; [alertController addAction:okAction];