Honor the outputs scale factor

This commit is contained in:
Guido Günther
2019-07-13 16:18:23 +02:00
parent cd81aeb286
commit d0fa444a0e
3 changed files with 19 additions and 4 deletions

View File

@ -124,6 +124,8 @@ eek_gtk_keyboard_real_draw (GtkWidget *self,
eek_renderer_set_allocation_size (priv->renderer,
allocation.width,
allocation.height);
eek_renderer_set_scale_factor (priv->renderer,
gtk_widget_get_scale_factor (self));
}
eek_renderer_render_keyboard (priv->renderer, cr);