fix: prefersHomeIndicatorAutoHidden conflicting with preferredScreenEdgesDeferringSystemGestures

This commit is contained in:
Acaki
2025-08-07 16:18:06 +08:00
parent c32f2d3f50
commit 22ce2edfa3
@@ -1343,7 +1343,7 @@
}
- (BOOL)prefersHomeIndicatorAutoHidden {
if ( [_streamView getCurrentOscState] == OnScreenControlsLevelOff &&
if ( [_controllerSupport getConnectedGamepadCount] > 0 && [_streamView getCurrentOscState] == OnScreenControlsLevelOff &&
_userIsInteracting == NO) {
// Autohide the home bar when a gamepad is connected
// and the on-screen controls are disabled. We can't