diff options
Diffstat (limited to 'osc_inspector_nk.c')
-rw-r--r-- | osc_inspector_nk.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |