From 1232644268ac624d16c1ae6e67593f5647c311da Mon Sep 17 00:00:00 2001 From: TrueZhuanjia Date: Sun, 14 Sep 2025 10:07:50 +0800 Subject: [PATCH] minor fixes --- VoidLink/Base.lproj/iPad.storyboard | 7 +++++++ VoidLink/Base.lproj/iPhone.storyboard | 7 +++++++ VoidLink/ViewControllers/StreamFrameViewController.m | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/VoidLink/Base.lproj/iPad.storyboard b/VoidLink/Base.lproj/iPad.storyboard index a006e77e..7a48919c 100644 --- a/VoidLink/Base.lproj/iPad.storyboard +++ b/VoidLink/Base.lproj/iPad.storyboard @@ -548,6 +548,9 @@ + + + @@ -556,9 +559,13 @@ + + + + diff --git a/VoidLink/Base.lproj/iPhone.storyboard b/VoidLink/Base.lproj/iPhone.storyboard index 261dd812..e829a225 100644 --- a/VoidLink/Base.lproj/iPhone.storyboard +++ b/VoidLink/Base.lproj/iPhone.storyboard @@ -1691,6 +1691,9 @@ + + + @@ -1699,9 +1702,13 @@ + + + + diff --git a/VoidLink/ViewControllers/StreamFrameViewController.m b/VoidLink/ViewControllers/StreamFrameViewController.m index cdef3750..ae7a28fd 100644 --- a/VoidLink/ViewControllers/StreamFrameViewController.m +++ b/VoidLink/ViewControllers/StreamFrameViewController.m @@ -177,7 +177,7 @@ - (bool)isOscLayoutToolEnabled{ - return (_settings.touchMode.intValue == RelativeTouch || _settings.touchMode.intValue == NativeTouch || _settings.touchMode.intValue == AbsoluteTouch) && _settings.onscreenControls.intValue == OnScreenControlsLevelCustom; + return (_settings.touchMode.intValue == RelativeTouch || _settings.touchMode.intValue == NativeTouch || _settings.touchMode.intValue == NativeTouch || _settings.touchMode.intValue == TouchDisabled) && _settings.onscreenControls.intValue == OnScreenControlsLevelCustom; } - (void)setupPiPControllerWithRenderer:(VideoDecoderRenderer *)videoRenderer { // Ensure we have the renderer and its layer