aboutsummaryrefslogtreecommitdiff
path: root/midi_inspector_nk.c
diff options
context:
space:
mode:
Diffstat (limited to 'midi_inspector_nk.c')
-rw-r--r--midi_inspector_nk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/midi_inspector_nk.c b/midi_inspector_nk.c
index 6bfd123..077ad53 100644
--- a/midi_inspector_nk.c
+++ b/midi_inspector_nk.c
@@ -201,7 +201,7 @@ _midi_inspector_expose(struct nk_context *ctx, struct nk_rect wbounds, void *dat
{
plughandle_t *handle = data;
- const float widget_h = 20;
+ const float widget_h = handle->dy;
if(nk_begin(ctx, "Window", wbounds, NK_WINDOW_NO_SCROLLBAR))
{