Correct icon size for scaling

This commit is contained in:
David Boddie
2019-08-05 13:21:01 +02:00
parent 537ded4b58
commit 593946779e
+1 -1
View File
@@ -287,7 +287,7 @@ render_key (EekRenderer *self,
cairo_surface_t *icon_surface = cairo_surface_t *icon_surface =
eek_renderer_get_icon_surface (self, eek_renderer_get_icon_surface (self,
eek_symbol_get_icon_name (symbol), eek_symbol_get_icon_name (symbol),
16, 16 / priv->scale,
scale); scale);
if (icon_surface) { if (icon_surface) {
gint width = cairo_image_surface_get_width (icon_surface); gint width = cairo_image_surface_get_width (icon_surface);