Update icon

pull/24/head
Pedro Cuenca 2 years ago
parent fdb1388e07
commit f9d769147f

@ -18,6 +18,31 @@ enum PipelineState {
case failed(Error) case failed(Error)
} }
//struct LabelToggleDisclosureGroupStyle: DisclosureGroupStyle {
// func makeBody(configuration: Configuration) -> some View {
// VStack {
// HStack {
// Button {
// withAnimation {
// configuration.isExpanded.toggle()
// }
// } label: {
// Image(systemName: configuration.isExpanded ? "chevron.down.circle.fill" : "chevron.right.circle.fill")
// }.buttonStyle(.plain).foregroundColor(.primary).colorInvert()
// configuration.label.onTapGesture {
// withAnimation {
// configuration.isExpanded.toggle()
// }
// }
// Spacer()
// }
// if configuration.isExpanded {
// configuration.content
// }
// }
// }
//}
struct ControlsView: View { struct ControlsView: View {
@EnvironmentObject var generation: GenerationContext @EnvironmentObject var generation: GenerationContext

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 KiB

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 299 KiB

After

Width:  |  Height:  |  Size: 88 KiB

Loading…
Cancel
Save