From a17a27005df8d7a1aaf74b592283cf93575f7302 Mon Sep 17 00:00:00 2001 From: TrueZhuangjia Date: Sun, 23 Feb 2025 20:42:31 +0800 Subject: [PATCH] fix on screen widget location shift while after quick tapping in layout tool --- Limelight/Input/OnScreenWidgetView.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Limelight/Input/OnScreenWidgetView.swift b/Limelight/Input/OnScreenWidgetView.swift index 9a2b29c3..562d8ada 100644 --- a/Limelight/Input/OnScreenWidgetView.swift +++ b/Limelight/Input/OnScreenWidgetView.swift @@ -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 - } } }