cursor
This commit is contained in:
@@ -89,6 +89,7 @@ private struct CommitButton: View {
|
||||
.contentShape(Rectangle())
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
.pointerHand()
|
||||
.disabled(!isEnabled)
|
||||
.onHover { hovered = $0 }
|
||||
.animation(Metrics.colorTransition, value: hovered)
|
||||
@@ -117,6 +118,7 @@ private struct PushButton: View {
|
||||
.opacity(busy ? 0.4 : 1)
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
.pointerHand()
|
||||
.disabled(busy)
|
||||
.onHover { hovered = $0 }
|
||||
.animation(Metrics.colorTransition, value: hovered)
|
||||
|
||||
Reference in New Issue
Block a user