@@ -55,7 +55,7 @@ public struct Keyboard<Content>: View where Content: View {
5555 }
5656
5757 var isomorphicBody : some View {
58- HStack ( spacing: 1 ) {
58+ HStack ( spacing: 0 ) {
5959 ForEach ( pitchRange, id: \. self) { pitch in
6060 KeyContainer ( model: model,
6161 pitch: pitch,
@@ -66,12 +66,12 @@ public struct Keyboard<Content>: View where Content: View {
6666 content: content)
6767 }
6868 }
69- . frame ( minWidth: 600 , minHeight: 100 )
69+ . frame ( minWidth: 100 , minHeight: 100 )
7070 . clipShape ( Rectangle ( ) )
7171 }
7272
7373 var pianoRollBody : some View {
74- VStack ( spacing: 1 ) {
74+ VStack ( spacing: 0 ) {
7575 ForEach ( pitchRange, id: \. self) { pitch in
7676 KeyContainer ( model: model,
7777 pitch: pitch,
@@ -82,15 +82,15 @@ public struct Keyboard<Content>: View where Content: View {
8282 content: content)
8383 }
8484 }
85- . frame ( minWidth: 100 , minHeight: 600 )
85+ . frame ( minWidth: 100 , minHeight: 100 )
8686 . clipShape ( Rectangle ( ) )
8787 }
8888
8989
9090 var pianoBody : some View {
9191
9292 ZStack {
93- HStack ( spacing: 1 ) {
93+ HStack ( spacing: 0 ) {
9494 ForEach ( whiteKeys, id: \. self) { pitch in
9595 KeyContainer ( model: model,
9696 pitch: pitch,
@@ -101,7 +101,7 @@ public struct Keyboard<Content>: View where Content: View {
101101 }
102102 }
103103 VStack {
104- HStack ( spacing: 1 ) {
104+ HStack ( spacing: 0 ) {
105105 ForEach ( whiteKeys, id: \. self) { pitch in
106106 KeyContainer ( model: model,
107107 pitch: Pitch ( intValue: pitch. intValue + 1 ) ,
@@ -115,7 +115,7 @@ public struct Keyboard<Content>: View where Content: View {
115115 Spacer ( )
116116 }
117117 }
118- . frame ( minWidth: 600 , minHeight: 100 )
118+ . frame ( minWidth: 100 , minHeight: 100 )
119119 . clipShape ( Rectangle ( ) )
120120 }
121121}
0 commit comments