removed unwanted bar now with waveforms
This commit is contained in:
@@ -616,9 +616,10 @@ private struct ImportProgressDialog: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
private struct WaveformProgressCard: View {
|
||||
struct WaveformProgressCard: View {
|
||||
let progress: WaveformJobProgress
|
||||
let running: Bool
|
||||
var studio = "Karaoke"
|
||||
let cancel: () -> Void
|
||||
let details: () -> Void
|
||||
let dismiss: () -> Void
|
||||
@@ -632,7 +633,7 @@ private struct WaveformProgressCard: View {
|
||||
Text("\(Int(fraction*100))%").font(.system(size:11,weight:.semibold)).monospacedDigit()
|
||||
}.frame(width:46,height:46).accessibilityLabel("Waveform progress").accessibilityValue("\(Int(fraction*100)) percent")
|
||||
VStack(alignment:.leading,spacing:7) {
|
||||
HStack { Text(running ? "Preparing Karaoke Waveforms" : "Waveform Results").font(.callout.weight(.semibold));Spacer();Text("\(progress.processed.formatted()) / \(progress.total.formatted())").font(.caption).monospacedDigit().foregroundStyle(.secondary) }
|
||||
HStack { Text(running ? "Preparing "+studio+" Waveforms" : "Waveform Results").font(.callout.weight(.semibold));Spacer();Text("\(progress.processed.formatted()) / \(progress.total.formatted())").font(.caption).monospacedDigit().foregroundStyle(.secondary) }
|
||||
GeometryReader { proxy in
|
||||
ZStack(alignment:.leading) {
|
||||
Capsule().fill(colour.opacity(0.12))
|
||||
|
||||
Reference in New Issue
Block a user