Fix vertical controllers

This commit is contained in:
Stossy11 2025-02-13 09:59:39 +11:00
parent e5c5e8572e
commit c6de4abce3
2 changed files with 4 additions and 5 deletions

View File

@ -45,7 +45,7 @@ struct ControllerView: View {
DPadView() DPadView()
} }
} }
.padding() Spacer()
VStack { VStack {
ShoulderButtonsViewRight() ShoulderButtonsViewRight()
ZStack { ZStack {
@ -53,7 +53,6 @@ struct ControllerView: View {
ABXYView() ABXYView()
} }
} }
.padding()
} }
HStack { HStack {
@ -63,8 +62,8 @@ struct ControllerView: View {
.padding(.horizontal, 40) .padding(.horizontal, 40)
} }
} }
.padding(.bottom, geometry.size.height / 3.2) // very broken
} }
} else { } else {
// could be landscape // could be landscape
VStack { VStack {
@ -100,12 +99,12 @@ struct ControllerView: View {
// Spacer() // Spacer()
VStack { VStack {
// Spacer() // Spacer()
ButtonView(button: .back) // Adding the + button ButtonView(button: .back) // Adding the - button
} }
Spacer() Spacer()
VStack { VStack {
// Spacer() // Spacer()
ButtonView(button: .start) // Adding the - button ButtonView(button: .start) // Adding the + button
} }
// Spacer() // Spacer()
} }