mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-29 19:22:36 +08:00
frontend: Make Mac font base value configurable
Sets the base value to 1.2 times the "displayed" value instead of forcing 12 (which was 1.2x of the default 10pt). This should look the same as on other operating systems.
This commit is contained in:
committed by
Ryan Foster
parent
3cba029a38
commit
1d5bcec80f
@@ -102,7 +102,7 @@
|
||||
--border_highlight: "transparent";
|
||||
|
||||
/* OS Fixes */
|
||||
--os_mac_font_base_value: 12;
|
||||
--os_mac_font_base_value: calc(1.2 * var(--obsFontScale));
|
||||
|
||||
--font_base: calc(1pt * var(--font_base_value));
|
||||
--font_small: max(7pt, calc(0.8pt * var(--font_base_value)));
|
||||
|
||||
Reference in New Issue
Block a user