improve widget relocation

This commit is contained in:
TrueZhuanjia committed 2025-12-01 19:16:25 +08:00
1 parent 9916f64065
commit 6dc9ee569b
1 file changed
+1 -1
+1 -1
View File
@@ -1518,7 +1518,7 @@ import UIKit
else {return} else {return}
} }
if !firstTouchMoved, !self.isAdjacentPoints(currentLocation, from: latestTouchLocation, tolerance: 0.5) { if !firstTouchMoved, !self.isAdjacentPoints(currentLocation, from: latestTouchLocation, tolerance: 1) {
// First move event // First move event
self.latestTouchLocation = currentLocation self.latestTouchLocation = currentLocation
self.firstTouchMoved = true self.firstTouchMoved = true