aboutsummaryrefslogtreecommitdiff
path: root/atom_inspector_nk.c
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-03-20 19:26:50 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-03-20 19:26:50 +0100
commitf839caf81ac470a9da37491df4ac7c50216dcb30 (patch)
treec681c9dae011caeab36c916f5975cda31747bf66 /atom_inspector_nk.c
parent450b0b1aac9c7a880c10652cddd44cc556706748 (diff)
downloadsherlock.lv2-f839caf81ac470a9da37491df4ac7c50216dcb30.tar.xz
fixes for updated nk_pugl.
Diffstat (limited to 'atom_inspector_nk.c')
-rw-r--r--atom_inspector_nk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/atom_inspector_nk.c b/atom_inspector_nk.c
index 4631a6b..8c1d8c6 100644
--- a/atom_inspector_nk.c
+++ b/atom_inspector_nk.c
@@ -112,6 +112,7 @@ _atom_inspector_expose(struct nk_context *ctx, struct nk_rect wbounds, void *dat
{
plughandle_t *handle = data;
+ handle->dy = 20.f * _get_scale(handle);
const float widget_h = handle->dy;
struct nk_style *style = &ctx->style;
const struct nk_vec2 window_padding = style->window.padding;