From 6dc9ee569b7dc0d167bd120c506531c555dfef25 Mon Sep 17 00:00:00 2001 From: TrueZhuanjia Date: Mon, 1 Dec 2025 19:16:25 +0800 Subject: [PATCH] improve widget relocation --- VoidLink/Input/OnScreenWidgetView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VoidLink/Input/OnScreenWidgetView.swift b/VoidLink/Input/OnScreenWidgetView.swift index 5e120067..75792524 100644 --- a/VoidLink/Input/OnScreenWidgetView.swift +++ b/VoidLink/Input/OnScreenWidgetView.swift @@ -1518,7 +1518,7 @@ import UIKit else {return} } - if !firstTouchMoved, !self.isAdjacentPoints(currentLocation, from: latestTouchLocation, tolerance: 0.5) { + if !firstTouchMoved, !self.isAdjacentPoints(currentLocation, from: latestTouchLocation, tolerance: 1) { // First move event self.latestTouchLocation = currentLocation self.firstTouchMoved = true