cursor
This commit is contained in:
@@ -251,6 +251,7 @@ private struct CollapseButton: View {
|
||||
.background(hovering ? Palette.hover : Color.clear, in: RoundedRectangle(cornerRadius: Metrics.radiusSmall))
|
||||
.overlay(RoundedRectangle(cornerRadius: Metrics.radiusSmall).stroke(Palette.raised, lineWidth: Metrics.hairline))
|
||||
.contentShape(Rectangle())
|
||||
.pointerHand()
|
||||
.onTapGesture(perform: action)
|
||||
.onHover { hovering = $0 }
|
||||
.animation(Metrics.colorTransition, value: hovering)
|
||||
|
||||
Reference in New Issue
Block a user