mirror of
https://github.com/yattee/yattee.git
synced 2024-11-14 01:58:24 +00:00
Merge pull request #750 from stonerl/refined-font-sclaing-for-captions
refined chapter font scaling
This commit is contained in:
commit
af99df9b8a
@ -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