broken changes

This commit is contained in:
Mark Gregory
2026-11-05 12:11:05 +00:00
parent 3efe4f616e
commit 2ac7619ee1
5 changed files with 41 additions and 8 deletions
+5
View File
@@ -65,6 +65,7 @@ struct SongDragReference: Codable, Sendable {
@Published var activeSection = "Library"
@Published var studio = StudioSettings() { didSet { applyStudioSettings(save:true,previous:oldValue) } }
let backgroundDeck = BackgroundDeck()
let dj = DJSystem()
var backgroundAutomationReady = false
var backgroundPlaybackObserver: AnyCancellable?
var backgroundHandoff: Task<Void,Never>?
@@ -717,6 +718,7 @@ struct LibraryView: View {
private var selectedSong: Song? { model.songs.first { $0.id == selected } }
private var workspace: some View {
VSplitView {
HSplitView {
sidebar.frame(minWidth:220,idealWidth:240,maxWidth:260)
VStack(spacing:0) {
@@ -752,6 +754,9 @@ struct LibraryView: View {
footer.padding(.horizontal,18).padding(.vertical,8)
}.frame(minWidth:780)
}
.frame(minHeight:400)
DJConsole(model:model,system:model.dj).frame(minHeight:400,idealHeight:470)
}
.background(StudioTheme.frame)
.tint(.accentColor)
.focusedSceneValue(\.nameReinterpretation,NameReinterpretationCommands(perform:{beginReinterpretation()},enabled:["Library","Singer Songs"].contains(source) && (selectedSong != nil || !tableSelection.isEmpty)))