fix on screen widget location shift while after quick tapping in layout tool
This commit is contained in:
1 parent
a8f7f4679b
commit
a17a27005d
1 file changed
-4
@@ -861,10 +861,6 @@ import UIKit
|
|||||||
// here is in edit mode:
|
// here is in edit mode:
|
||||||
else{
|
else{
|
||||||
NotificationCenter.default.post(name: Notification.Name("OnScreenWidgetViewSelected"),object: self) // inform layout tool controller to fetch button size factors. self will be passed as the object of the notification
|
NotificationCenter.default.post(name: Notification.Name("OnScreenWidgetViewSelected"),object: self) // inform layout tool controller to fetch button size factors. self will be passed as the object of the notification
|
||||||
if let touch = touches.first {
|
|
||||||
let touchLocation = touch.location(in: superview)
|
|
||||||
storedCenter = touchLocation
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user