rdar://78040734
Created attachment 434905 [details] Patch
Comment on attachment 434905 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=434905&action=review r=me > Source/WebKit/UIProcess/ios/WKImageAnalysisGestureRecognizer.mm:68 > + if (touches.anyObject.force < forceThreshold) Is every `UITouch` guaranteed to have the same `force`? Or do we need to iterate this?
Comment on attachment 434905 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=434905&action=review Thanks for the review! >> Source/WebKit/UIProcess/ios/WKImageAnalysisGestureRecognizer.mm:68 >> + if (touches.anyObject.force < forceThreshold) > > Is every `UITouch` guaranteed to have the same `force`? Or do we need to iterate this? Each UITouch will have the force corresponding to that touch — I don't think it will be an issue here though, since the context menu is only triggered if there's one active touch. That said, I suppose I could add an early return if `touches.count > 1`.
Created attachment 434914 [details] Patch for landing
Committed r280647 (240258@main): <https://commits.webkit.org/240258@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 434914 [details].