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:
Toni Förster 2024-08-26 01:27:09 +02:00
parent 0b01adf6eb
commit 66eb8051bf
No known key found for this signature in database
GPG Key ID: 292F3E5086C83FC7

View File

@ -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)