mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 11:09:52 +00:00
Change doom-modeline--font-height to function.
See @187.
This commit is contained in:
parent
ee4619d367
commit
7d8ec424c8
1 changed files with 1 additions and 1 deletions
|
@ -497,7 +497,7 @@ If the actual char height is larger, it respects the actual char height.")
|
||||||
'mode-line
|
'mode-line
|
||||||
'mode-line-inactive)))
|
'mode-line-inactive)))
|
||||||
|
|
||||||
(defsubst doom-modeline--font-height ()
|
(defun doom-modeline--font-height ()
|
||||||
"Calculate the actual char height of the mode-line."
|
"Calculate the actual char height of the mode-line."
|
||||||
(round (* 1.68 (frame-char-height))))
|
(round (* 1.68 (frame-char-height))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue