mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 03:16:23 +02:00
Fix vertical controllers
This commit is contained in:
parent
e5c5e8572e
commit
c6de4abce3
2 changed files with 4 additions and 5 deletions
Binary file not shown.
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue