big u/i restructures - still ugly

This commit is contained in:
Rory Hinnen
2026-09-13 11:37:58 -05:00
parent 1507f8b8c6
commit 2034dbab40
7 changed files with 65 additions and 65 deletions
@@ -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:")