Merge branch 'adjust-icon-scaling' into 'master'

Correct icon size for scaling

See merge request Librem5/squeekboard!121
This commit is contained in:
Dorota Czaplejewicz
2019-08-05 12:06:13 +00:00

View File

@ -287,7 +287,7 @@ render_key (EekRenderer *self,
cairo_surface_t *icon_surface =
eek_renderer_get_icon_surface (self,
eek_symbol_get_icon_name (symbol),
16,
16 / priv->scale,
scale);
if (icon_surface) {
gint width = cairo_image_surface_get_width (icon_surface);