aboutsummaryrefslogtreecommitdiff
path: root/midi_inspector_nk.c
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-11-15 09:56:43 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-11-15 09:56:43 +0100
commitd005bd3f5a7c4d58c651f2df56cdfe7bcb5accd0 (patch)
tree261c28add5550b5770b6666f69e051dca8b74778 /midi_inspector_nk.c
parent53f577440330040922013ab361c939895f2a2f92 (diff)
downloadsherlock.lv2-d005bd3f5a7c4d58c651f2df56cdfe7bcb5accd0.tar.xz
honor NK_SCALE env variable.
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))
{