This commit is contained in:
2026-10-10 14:54:39 +02:00
parent a0b3ef9975
commit 499fcd12ca
27 changed files with 435 additions and 46 deletions
@@ -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)