mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
refined chapter font scaling
adapted the scaling of chapter fonts after some user feedback Signed-off-by: Toni Förster <toni.foerster@gmail.com>
This commit is contained in:
parent
0b01adf6eb
commit
66eb8051bf
@ -361,9 +361,9 @@ struct PlayerSettings: View {
|
|||||||
|
|
||||||
private var captionsFontScaleSizePicker: some View {
|
private var captionsFontScaleSizePicker: some View {
|
||||||
Picker("Size", selection: $captionsFontScaleSize) {
|
Picker("Size", selection: $captionsFontScaleSize) {
|
||||||
Text("Small").tag(String("0.5"))
|
Text("Small").tag(String("0.725"))
|
||||||
Text("Medium").tag(String("1.0"))
|
Text("Medium").tag(String("1.0"))
|
||||||
Text("Large").tag(String("2.0"))
|
Text("Large").tag(String("1.5"))
|
||||||
}
|
}
|
||||||
.onChange(of: captionsFontScaleSize) { _ in
|
.onChange(of: captionsFontScaleSize) { _ in
|
||||||
PlayerModel.shared.mpvBackend.client.setSubFontSize(scaleSize: captionsFontScaleSize)
|
PlayerModel.shared.mpvBackend.client.setSubFontSize(scaleSize: captionsFontScaleSize)
|
||||||
|
Loading…
Reference in New Issue
Block a user