Post

Replies

Boosts

Views

Activity

How can you make the hover highlight rounded?
I have the following toolbar button: Button(action: {}, label: {     Text("Button")         .padding() }) .hoverEffect() When I hover the button with a mouse on iPad, a rectangle with square corners appears. I've tried using the cornerRadius and clipShape modifiers to make the corners rounded with no luck. Is there a way to accomplish this in SwiftUI? I would like it match the hover effect on the navigation bar back button.
1
0
2.2k
Jun ’20