improve widget relocation
This commit is contained in:
1 parent
9916f64065
commit
6dc9ee569b
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user