Skip to content

Commit

Permalink
Improved tester
Browse files Browse the repository at this point in the history
  • Loading branch information
tevelee committed Jul 26, 2024
1 parent aebd632 commit 0668632
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Flow/Example/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ struct ContentView: View {
Grid {
GridRow {
Text("Width").gridColumnAlignment(.leading)
Slider(value: $width.animation(), in: 0...400)
Slider(value: $width.animation(.snappy), in: 0...400)
.padding(.horizontal)
}
GridRow {
Text("Height")
Slider(value: $height.animation(), in: 0...400)
Slider(value: $height.animation(.snappy), in: 0...400)
.padding(.horizontal)
}
}
Expand All @@ -77,7 +77,7 @@ struct ContentView: View {
stepper("Line", $lineSpacing)
}
Section(header: Text("Extras")) {
picker($justified, style: .radioGroup)
picker($justified, style: .inline)
Toggle("Distibute evenly", isOn: $distributeItemsEvenly.animation())
}
}
Expand Down

0 comments on commit 0668632

Please sign in to comment.