importer chnges
This commit is contained in:
@@ -270,12 +270,24 @@ struct DJDeckControls: View {
|
||||
}
|
||||
|
||||
struct StudioSettingsPane: View {
|
||||
@AppStorage("studioAppearance") private var appearance = "system"
|
||||
@ObservedObject var model: AppModel
|
||||
@State private var port = ""
|
||||
var body: some View {
|
||||
ScrollView {
|
||||
VStack(alignment:.leading,spacing:22) {
|
||||
HStack { VStack(alignment:.leading,spacing:4) { Text("Studio Settings").font(.title2.bold());Text("Changes save automatically on this Mac.").foregroundStyle(.secondary) };Spacer() }
|
||||
GroupBox("Appearance") {
|
||||
HStack {
|
||||
Picker("Appearance",selection:$appearance) {
|
||||
Text("System").tag("system")
|
||||
Text("Light").tag("light")
|
||||
Text("Dark").tag("dark")
|
||||
}.pickerStyle(.segmented).frame(maxWidth:360)
|
||||
Spacer()
|
||||
}.padding(10)
|
||||
Text("System follows your Mac. The waveform and video output remain dark for clear monitoring.").font(.caption).foregroundStyle(.secondary).padding([.horizontal,.bottom],10)
|
||||
}
|
||||
GroupBox("Playback & Jog") {
|
||||
VStack(alignment:.leading,spacing:12) {
|
||||
Toggle("Automatically play the next queued singer",isOn:$model.studio.autoAdvance)
|
||||
@@ -478,7 +490,7 @@ struct RotationDashboard: View {
|
||||
}
|
||||
}.padding(12).frame(minWidth:360).background(Color.primary.opacity(0.025),in:RoundedRectangle(cornerRadius:10))
|
||||
}
|
||||
}.padding(.horizontal,18).padding(.bottom,16).background(Color(nsColor:.windowBackgroundColor)).preferredColorScheme(.dark)
|
||||
}.padding(.horizontal,18).padding(.bottom,16).background(Color(nsColor:.windowBackgroundColor))
|
||||
.onChange(of:model.hostSettings.smart) { _ in model.saveHostSettings() }
|
||||
.onChange(of:model.rotationPlaybackActive) { active in if active { addingSongs = false } }
|
||||
}
|
||||
@@ -531,7 +543,7 @@ private struct RotationTonightSheet: View {
|
||||
}
|
||||
}.frame(height:330)
|
||||
HStack { Text("Adding a song marks this singer Here and puts it in the rotation.").font(.caption).foregroundStyle(.secondary);Spacer();Button("Done") { dismiss() }.keyboardShortcut(.defaultAction) }
|
||||
}.padding(24).frame(width:570).background(Color(nsColor:.windowBackgroundColor)).preferredColorScheme(.dark)
|
||||
}.padding(24).frame(width:570).background(Color(nsColor:.windowBackgroundColor))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user