home indicator interaction fix

This commit is contained in:
True Zhuanjia
2026-05-16 22:45:45 +08:00
parent 5a9bcab368
commit 1630f7987a
4 changed files with 48 additions and 11 deletions
@@ -2029,7 +2029,8 @@
}
- (BOOL)prefersHomeIndicatorAutoHidden {
if ( [_controllerSupport getConnectedGamepadCount] > 0 && [_streamView getCurrentOscState] == OnScreenControlsLevelOff &&
if(OnScreenWidgetView.deferScreenEdgeSysGesturesDueToOnScreenWidgets) return NO;
if ( [_controllerSupport getConnectedGamepadCount] > 0 &&
_userIsInteracting == NO) {
// Autohide the home bar when a gamepad is connected
// and the on-screen controls are disabled. We can't