Commit 177679d4 authored by David Fuhrmann's avatar David Fuhrmann

macosx: use var_Inherit* for large text setting

parent 5a2e5138
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
{ {
NSFont *fontToUse; NSFont *fontToUse;
CGFloat rowHeight; CGFloat rowHeight;
if (config_GetInt(VLCIntf, "macosx-large-text")) { if (var_InheritBool(VLCIntf, "macosx-large-text")) {
fontToUse = [NSFont systemFontOfSize:13.]; fontToUse = [NSFont systemFontOfSize:13.];
rowHeight = 21.; rowHeight = 21.;
} else { } else {
...@@ -658,7 +658,7 @@ ...@@ -658,7 +658,7 @@
playlist_t *p_playlist = pl_Get(p_intf); playlist_t *p_playlist = pl_Get(p_intf);
NSFont *fontToUse; NSFont *fontToUse;
if (config_GetInt(VLCIntf, "macosx-large-text")) if (var_InheritBool(VLCIntf, "macosx-large-text"))
fontToUse = [NSFont systemFontOfSize:13.]; fontToUse = [NSFont systemFontOfSize:13.];
else else
fontToUse = [NSFont systemFontOfSize:11.]; fontToUse = [NSFont systemFontOfSize:11.];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment