mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-21 08:32:00 +00:00
This commit is contained in:
parent
3ca0610544
commit
8f76989ae8
1 changed files with 2 additions and 10 deletions
|
|
@ -195,7 +195,7 @@ struct SubtitleSettingsSection: View {
|
||||||
HStack {
|
HStack {
|
||||||
Text("-10s")
|
Text("-10s")
|
||||||
.font(.system(size: 12))
|
.font(.system(size: 12))
|
||||||
.foregroundColor(.gray)
|
.foregroundColor(.secondary)
|
||||||
|
|
||||||
Slider(value: $subtitleDelay, in: -10...10, step: 0.1)
|
Slider(value: $subtitleDelay, in: -10...10, step: 0.1)
|
||||||
.onChange(of: subtitleDelay) { newValue in
|
.onChange(of: subtitleDelay) { newValue in
|
||||||
|
|
@ -206,17 +206,9 @@ struct SubtitleSettingsSection: View {
|
||||||
|
|
||||||
Text("+10s")
|
Text("+10s")
|
||||||
.font(.system(size: 12))
|
.font(.system(size: 12))
|
||||||
.foregroundColor(.gray)
|
.foregroundColor(.secondary)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Button("Reset Subtitle Timing") {
|
|
||||||
subtitleDelay = 0.0
|
|
||||||
SubtitleSettingsManager.shared.update { settings in
|
|
||||||
settings.subtitleDelay = 0.0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.foregroundColor(.accentColor)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue