fix(lib): don't call doom-adjust-font-size twice
When doom-big-font-mode is deactivated.
This commit is contained in:
parent
6e69b29084
commit
b767beaca6
1 changed files with 2 additions and 1 deletions
|
@ -178,4 +178,5 @@ Also resizees `doom-variable-pitch-font' and `doom-serif-font'."
|
||||||
t `((doom-font . ,doom-big-font)))
|
t `((doom-font . ,doom-big-font)))
|
||||||
;; Resize the current font
|
;; Resize the current font
|
||||||
(doom-adjust-font-size nil)
|
(doom-adjust-font-size nil)
|
||||||
(doom-adjust-font-size (if doom-big-font-mode doom-big-font-increment))))
|
(when doom-big-font-mode
|
||||||
|
(doom-adjust-font-size doom-big-font-increment))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue