-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi @ppoh71 ,your code helped me a lot! 😄
I have a question about logic.
Why is proxyfactor necessary doubled when recognizing middle touch?
if touchStart.y > rect.frame.minY + (proxyFactor*2)
&& touchStart.y < rect.frame.maxY - (proxyFactor*2)
&& touchStart.x > rect.frame.minX + (proxyFactor*2)
&& touchStart.x < rect.frame.maxX - (proxyFactor*2) {
resizeRect.middelTouch = true
print("middle")
return
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels