fix(lib): don't call doom-adjust-font-size twice

When doom-big-font-mode is deactivated.
This commit is contained in:
Henrik Lissner 2024-07-05 19:35:40 -04:00
parent 6e69b29084
commit b767beaca6
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -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))))