improve widget relocation

This commit is contained in:
TrueZhuanjia
2025-12-01 19:16:25 +08:00
parent 9916f64065
commit 6dc9ee569b
+1 -1
View File
@@ -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