Fixes #493 Powerline curves are not resized when zooming the frame

This commit is contained in:
syl20bnr 2015-01-27 21:47:57 -05:00
parent 40301acf5f
commit 261ce161f1

View file

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