|
|
|
@ -164,17 +164,6 @@ struct ControlsView: View {
|
|
|
|
|
}
|
|
|
|
|
Divider()
|
|
|
|
|
|
|
|
|
|
// DisclosureGroup() {
|
|
|
|
|
// CompactSlider(value: $generation.numImages, in: 0...10, step: 1) {
|
|
|
|
|
// Text("Number of Images")
|
|
|
|
|
// Spacer()
|
|
|
|
|
// Text("\(Int(generation.numImages))")
|
|
|
|
|
// }.padding(.leading, 10)
|
|
|
|
|
// } label: {
|
|
|
|
|
// Label("Number of images", systemImage: "photo.stack").foregroundColor(.secondary)
|
|
|
|
|
// }
|
|
|
|
|
// Divider()
|
|
|
|
|
|
|
|
|
|
DisclosureGroup(isExpanded: $disclosedSeed) {
|
|
|
|
|
let sliderLabel = generation.seed < 0 ? "Random Seed" : "Seed"
|
|
|
|
|
CompactSlider(value: $generation.seed, in: -1...1000, step: 1) {
|
|
|
|
|