diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2017-03-20 19:26:50 +0100 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2017-03-20 19:26:50 +0100 |
commit | f839caf81ac470a9da37491df4ac7c50216dcb30 (patch) | |
tree | c681c9dae011caeab36c916f5975cda31747bf66 /osc_inspector_nk.c | |
parent | 450b0b1aac9c7a880c10652cddd44cc556706748 (diff) | |
download | sherlock.lv2-f839caf81ac470a9da37491df4ac7c50216dcb30.tar.xz |
fixes for updated nk_pugl.
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; |