1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-12 21:30:32 +05:30

Merge pull request #750 from stonerl/refined-font-sclaing-for-captions

refined chapter font scaling
This commit is contained in:
Arkadiusz Fal 2024-08-26 08:16:55 +02:00 committed by GitHub
commit af99df9b8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -361,9 +361,9 @@ struct PlayerSettings: View {
private var captionsFontScaleSizePicker: some View {
Picker("Size", selection: $captionsFontScaleSize) {
Text("Small").tag(String("0.5"))
Text("Small").tag(String("0.725"))
Text("Medium").tag(String("1.0"))
Text("Large").tag(String("2.0"))
Text("Large").tag(String("1.5"))
}
.onChange(of: captionsFontScaleSize) { _ in
PlayerModel.shared.mpvBackend.client.setSubFontSize(scaleSize: captionsFontScaleSize)