From e2acf5ac4bfee80793d4a6e75770d9262b414072 Mon Sep 17 00:00:00 2001 From: True Zhuanjia Date: Wed, 8 Apr 2026 20:03:27 +0800 Subject: [PATCH] disable toolbox menu gesture --- VoidLink/ViewControllers/SettingsViewController.m | 2 +- VoidLink/ViewControllers/StreamFrameViewController.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VoidLink/ViewControllers/SettingsViewController.m b/VoidLink/ViewControllers/SettingsViewController.m index 9ab4b57a..f6d181e5 100644 --- a/VoidLink/ViewControllers/SettingsViewController.m +++ b/VoidLink/ViewControllers/SettingsViewController.m @@ -900,7 +900,7 @@ BOOL isCustomResolution(int resolutionSelected) { [self addSetting:self.softKeyboardGestureStack ofId:@"softKeyboardGestureStack" withInfoTag:YES withDynamicLabel:NO to:gesturesSection]; [self addSetting:self.slideToSettingsScreenEdgeStack ofId:@"slideToSettingsScreenEdgeStack" withInfoTag:NO withDynamicLabel:NO to:gesturesSection]; - [self addSetting:self.slideToToolboxScreenEdgeStack ofId:@"slideToToolboxScreenEdgeStack" withInfoTag:NO withDynamicLabel:NO to:gesturesSection]; + // [self addSetting:self.slideToToolboxScreenEdgeStack ofId:@"slideToToolboxScreenEdgeStack" withInfoTag:NO withDynamicLabel:NO to:gesturesSection]; [self addSetting:self.slideToSettingsDistanceStack ofId:@"slideToSettingsDistanceStack" withInfoTag:YES withDynamicLabel:YES to:gesturesSection]; [self addSetting:self.edgeSlidingSensitivityStack ofId:@"edgeSlidingSensitivityStack" withInfoTag:YES withDynamicLabel:YES to:gesturesSection]; [gesturesSection addToParentStack:_parentStack]; diff --git a/VoidLink/ViewControllers/StreamFrameViewController.m b/VoidLink/ViewControllers/StreamFrameViewController.m index a775564a..b5a50243 100644 --- a/VoidLink/ViewControllers/StreamFrameViewController.m +++ b/VoidLink/ViewControllers/StreamFrameViewController.m @@ -298,7 +298,7 @@ _slideToToolboxRecognizer.normalizedThresholdDistance = _settings.slideToSettingsDistance.floatValue; _slideToToolboxRecognizer.delaysTouchesBegan = NO; _slideToToolboxRecognizer.delaysTouchesEnded = NO; - [self.view addGestureRecognizer:_slideToToolboxRecognizer]; + // [self.view addGestureRecognizer:_slideToToolboxRecognizer]; if([self isOscLayoutToolEnabled]){ _oscLayoutTapRecoginizer = [[CustomTapGestureRecognizer alloc] initWithTarget:self action:@selector(handleWidgetLayoutGesture)];