feat: hide home indicator without needing a controller connected
This commit is contained in:
1 parent
835c9c1166
commit
2c8f2ee408
1 file changed
+1
-2
@@ -1156,8 +1156,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL)prefersHomeIndicatorAutoHidden {
|
- (BOOL)prefersHomeIndicatorAutoHidden {
|
||||||
if ([_controllerSupport getConnectedGamepadCount] > 0 &&
|
if ( [_streamView getCurrentOscState] == OnScreenControlsLevelOff &&
|
||||||
[_streamView getCurrentOscState] == OnScreenControlsLevelOff &&
|
|
||||||
_userIsInteracting == NO) {
|
_userIsInteracting == NO) {
|
||||||
// Autohide the home bar when a gamepad is connected
|
// Autohide the home bar when a gamepad is connected
|
||||||
// and the on-screen controls are disabled. We can't
|
// and the on-screen controls are disabled. We can't
|
||||||
|
|||||||
Reference in new issue
Block a user