fix on screen widget location shift while after quick tapping in layout tool

This commit is contained in:
TrueZhuangjia
2025-02-23 20:42:31 +08:00
parent a8f7f4679b
commit a17a27005d
-4
View File
@@ -861,10 +861,6 @@ import UIKit
// here is in edit mode:
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
if let touch = touches.first {
let touchLocation = touch.location(in: superview)
storedCenter = touchLocation
}
}
}