Fixes #493 Powerline curves are not resized when zooming the frame
This commit is contained in:
parent
40301acf5f
commit
261ce161f1
1 changed files with 7 additions and 5 deletions
|
@ -163,11 +163,13 @@ Press any other key to exit."))
|
|||
"Zoom the buffer in/out. If DIRECTION is positive or zero the frame text is enlarged,
|
||||
otherwise it is reduced."
|
||||
(interactive)
|
||||
(if (eq direction 0)
|
||||
(zoom-frm-unzoom)
|
||||
(if (< direction 0)
|
||||
(zoom-frm-out)
|
||||
(zoom-frm-in)))
|
||||
(cond
|
||||
((eq direction 0) (zoom-frm-unzoom))
|
||||
((< direction 0) (zoom-frm-out))
|
||||
((> direction 0) (zoom-frm-in)))
|
||||
(when (fboundp 'powerline-reset)
|
||||
(setq-default powerline-height (spacemacs/compute-powerline-height))
|
||||
(powerline-reset))
|
||||
(spacemacs/zoom-frame-overlay-map)
|
||||
(spacemacs/zoom-frame-micro-state-doc))
|
||||
(evil-leader/set-key
|
||||
|
|
Reference in a new issue