Skip to content

Commit

Permalink
Fix tvOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanov91 committed Nov 3, 2024
1 parent 97220d1 commit c364a56
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Sources/OversizeUI/Controls/Surface/Surface.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ public struct Surface<Label: View>: View {
.contentShape(Rectangle())
}
.buttonStyle(SurfaceButtonStyle())
.onHover { hover in
isHover = hover
}
#if os(macOS)
.onHover { hover in
isHover = hover
}
#endif
}

private var surface: some View {
Expand Down

0 comments on commit c364a56

Please sign in to comment.