toolbox pip entry

This commit is contained in:
TrueZhuanjia
2025-07-12 15:35:49 +08:00
parent 0473233775
commit 19beac795b
7 changed files with 86 additions and 38 deletions
+4
View File
@@ -364,6 +364,10 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
#endif
}
- (bool)isPipActive{
return [interactionDelegate isPipActive];
}
// we'll enable on screen buttons, and disable on screen controllers for absolute touch
- (bool) isOscEnabled{
return (settings.touchMode.intValue == RelativeTouch || settings.touchMode.intValue == NativeTouch) && settings.onscreenControls.intValue != OnScreenControlsLevelOff;