From f839caf81ac470a9da37491df4ac7c50216dcb30 Mon Sep 17 00:00:00 2001 From: Hanspeter Portner Date: Mon, 20 Mar 2017 19:26:50 +0100 Subject: fixes for updated nk_pugl. --- osc_inspector_nk.c | 1 + 1 file changed, 1 insertion(+) (limited to 'osc_inspector_nk.c') diff --git a/osc_inspector_nk.c b/osc_inspector_nk.c index 8a35736..6250b94 100644 --- a/osc_inspector_nk.c +++ b/osc_inspector_nk.c @@ -302,6 +302,7 @@ _osc_inspector_expose(struct nk_context *ctx, struct nk_rect wbounds, void *data { 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; -- cgit v1.2.1