Only run Compound tests when files are changed in Compound. (#4611)

* Only run Compound tests when files are changed in Compound.

* Fix warnings about missing spacing.

* Fix warnings about inner type shadowing.
This commit is contained in:
Doug
2025-10-10 14:30:51 +01:00
committed by GitHub
parent f403969f3f
commit db6aa06ec1
7 changed files with 16 additions and 13 deletions
@@ -235,7 +235,7 @@ public struct CompoundButtonStyle_Previews: PreviewProvider, TestablePreview {
}
public static func buttons(_ size: CompoundButtonStyle.Size) -> some View {
VStack {
VStack(spacing: 8) {
Button("Super") { }
.buttonStyle(.compound(.super, size: size))