big u/i restructures - still ugly
This commit is contained in:
@@ -11,6 +11,8 @@ struct HitCalculatorView: View {
|
||||
|
||||
var body: some View {
|
||||
VStack {
|
||||
RerollPickerView(mode: $current.hitRerollMode)
|
||||
.disabledWithOpacity(current.torrent)
|
||||
HStack(alignment: .top) {
|
||||
Spacer()
|
||||
StatStepper(
|
||||
@@ -40,18 +42,19 @@ struct HitCalculatorView: View {
|
||||
.disabledWithOpacity(current.blowupUsed || current.torrent)
|
||||
Spacer()
|
||||
}
|
||||
RerollPickerView(mode: $current.hitRerollMode)
|
||||
.disabledWithOpacity(current.torrent)
|
||||
|
||||
HStack(spacing: 6) {
|
||||
ToggleChip(label: "Torrent", isOn: $current.torrent)
|
||||
Spacer()
|
||||
ToggleChip(label: "Psychic", isOn: $current.psychic)
|
||||
.disabledWithOpacity(current.torrent)
|
||||
ToggleChip(label: "Lethal Hits", isOn: $current.lethalHits)
|
||||
Spacer()
|
||||
ToggleChip(label: "Lethal", isOn: $current.lethalHits)
|
||||
}
|
||||
.padding(.horizontal)
|
||||
VStack(spacing: 8) {
|
||||
HStack {
|
||||
ToggleChip(label: "Sust. Hits", isOn: $current.sustainedHits)
|
||||
ToggleChip(label: "Sustained Hits", isOn: $current.sustainedHits)
|
||||
Spacer()
|
||||
if current.sustainedHits {
|
||||
Text("X:")
|
||||
|
||||
Reference in New Issue
Block a user