further fix widget layout with orientation change issue

This commit is contained in:
TrueZhuanjia
2025-09-13 22:57:20 +08:00
parent fcbc844587
commit 8fb4829aef
2 changed files with 3 additions and 3 deletions
@@ -298,6 +298,7 @@
selectedControllerLayer = nil;
_oscProfilesTableViewController.layoutViewBounds = self.view.bounds;
[OSCProfilesManager setLayoutViewBounds:self.view.bounds];
[OSCProfilesManager setOnScreenWidgetViewsSet:self.onScreenWidgetViews]; // pass the keyboard button dict to profiles manager
[self reloadOnScreenWidgetViews];
[self reloadLegacyOnScreenControls];
@@ -317,7 +318,7 @@
if ([UIApplication sharedApplication].applicationState != UIApplicationStateActive) return;
viewWillBeResized = true;
[self hideStickIndicators];
// if(!_quickSwitchEnabled) [self saveTapped:nil];
if(!_quickSwitchEnabled) [self saveTapped:nil];
}
- (void)deviceOrientationDidChange{