milkypostman / powerline

emacs powerline
Other
793 stars 118 forks source link

Change :scale arugment from t to 1 #185

Closed tgiannak closed 3 years ago

tgiannak commented 3 years ago

t is no longer accepted as :scale argument for create-image, but using 1 has the same behavior as before.

Fixes #184.

jpneverwas commented 3 years ago

@tgiannak, looks like there's another one:

diff --git a/powerline-separators.el b/powerline-separators.el
index cd9f96d..0d69e75 100644
--- a/powerline-separators.el
+++ b/powerline-separators.el
@@ -204,7 +204,7 @@ destination color, and 2 is the interpolated color between 0 and 1."
                            '("};"))
                   'xpm t
                   :ascent 'center
-                  :scale t
+                  :scale 1.0
                   :face (when (and face1 face2)
                           ,dst-face)
                   ,(and body-2x
milkypostman commented 3 years ago

thank you!