You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Missing functionality for hit testing & content shape area
Expected behaviour
Add missing functionality and verify gesture start against the shape fill area.
extension View {
/// Defines the content shape for hit testing.
/// - Parameters:
/// - shape: The hit testing shape for the view.
/// - eoFill: A Boolean that indicates whether the shape is interpreted with the even-odd winding number rule.
/// - Returns: A view that uses the given shape for hit testing.
@inlinable public func contentShape<S: Shape>(
_ shape: S,
eoFill: Bool = false
) -> some View {
// TODO: Add content shape modifier. Verify gesture start against the shape fill area.
self
}
}
The text was updated successfully, but these errors were encountered:
Describe the bug
Missing functionality for hit testing & content shape area
Expected behaviour
Add missing functionality and verify gesture start against the shape fill area.
The text was updated successfully, but these errors were encountered: