smaller widgetPanel spacing for ipad
This commit is contained in:
1 parent
19882a9373
commit
88edc7f263
2 files changed
+13
-11
No files matched your search
@@ -1136,11 +1136,13 @@ import UIKit
|
||||
private func updateTouchLocation (touch: UITouch) {
|
||||
self.mousePointerMoved = true
|
||||
let currentTouchLocation: CGPoint = (touch.location(in: self))
|
||||
|
||||
if !firstTouchMoved {
|
||||
// First move event
|
||||
self.latestTouchLocation = currentTouchLocation
|
||||
self.firstTouchMoved = true
|
||||
}
|
||||
|
||||
self.deltaX = currentTouchLocation.x - self.latestTouchLocation.x
|
||||
self.deltaY = currentTouchLocation.y - self.latestTouchLocation.y
|
||||
self.offSetX = currentTouchLocation.x - self.touchBeganLocation.x
|
||||
|
||||
Reference in new issue
Block a user