Fix: state icons are too small on Windows.

This commit is contained in:
Vincent Zhang 2018-12-31 21:06:27 +08:00
parent b6f15e5cfd
commit d453e780e4

View file

@ -774,8 +774,8 @@ Uses `all-the-icons-material' to fetch the icon."
(doom-modeline-icon-material
icon
:face (if (doom-modeline--active) face)
:height (or height 1.0)
:v-adjust (or voffset -0.215))))
:height (or height 1.1)
:v-adjust (or voffset -0.225))))
(defvar-local doom-modeline--buffer-file-state-icon nil)
(defun doom-modeline-update-buffer-file-state-icon (&rest _)
@ -864,7 +864,7 @@ directory, the file name, and its state (modified, read-only or non-existent)."
(if active
icon
(propertize icon
'face `(:height 1.2 :family ,(all-the-icons-icon-family icon) :inherit)))
'face `(:height 1.3 :family ,(all-the-icons-icon-family icon) :inherit)))
doom-modeline-vspc)))
;; buffer file name