Skip to content

Commit f9d7691

Browse files
committedJan 24, 2023
Update icon
1 parent fdb1388 commit f9d7691

File tree

4 files changed

+25
-0
lines changed

4 files changed

+25
-0
lines changed
 

‎Diffusion-macOS/ControlsView.swift

+25
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,31 @@ enum PipelineState {
1818
case failed(Error)
1919
}
2020

21+
//struct LabelToggleDisclosureGroupStyle: DisclosureGroupStyle {
22+
// func makeBody(configuration: Configuration) -> some View {
23+
// VStack {
24+
// HStack {
25+
// Button {
26+
// withAnimation {
27+
// configuration.isExpanded.toggle()
28+
// }
29+
// } label: {
30+
// Image(systemName: configuration.isExpanded ? "chevron.down.circle.fill" : "chevron.right.circle.fill")
31+
// }.buttonStyle(.plain).foregroundColor(.primary).colorInvert()
32+
// configuration.label.onTapGesture {
33+
// withAnimation {
34+
// configuration.isExpanded.toggle()
35+
// }
36+
// }
37+
// Spacer()
38+
// }
39+
// if configuration.isExpanded {
40+
// configuration.content
41+
// }
42+
// }
43+
// }
44+
//}
45+
2146
struct ControlsView: View {
2247
@EnvironmentObject var generation: GenerationContext
2348

Loading
Loading
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.