cursor
This commit is contained in:
@@ -72,6 +72,7 @@ private struct GroupButton: View {
|
||||
.contentShape(Rectangle())
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
.pointerHand()
|
||||
.onHover { isHovered = $0 }
|
||||
.accessibilityAddTraits(isOn ? .isSelected : [])
|
||||
.animation(Metrics.smallControlTransition, value: isHovered)
|
||||
@@ -122,6 +123,7 @@ public struct ToolbarIconButton: View {
|
||||
.contentShape(Rectangle())
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
.pointerHand()
|
||||
.onHover { isHovered = $0 }
|
||||
.animation(Metrics.smallControlTransition, value: isHovered)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user