diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2016-11-15 09:56:43 +0100 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2016-11-15 09:56:43 +0100 |
commit | d005bd3f5a7c4d58c651f2df56cdfe7bcb5accd0 (patch) | |
tree | 261c28add5550b5770b6666f69e051dca8b74778 /atom_inspector_nk.c | |
parent | 53f577440330040922013ab361c939895f2a2f92 (diff) | |
download | sherlock.lv2-d005bd3f5a7c4d58c651f2df56cdfe7bcb5accd0.tar.xz |
honor NK_SCALE env variable.
Diffstat (limited to 'atom_inspector_nk.c')
-rw-r--r-- | atom_inspector_nk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atom_inspector_nk.c b/atom_inspector_nk.c index a104f0c..35f585c 100644 --- a/atom_inspector_nk.c +++ b/atom_inspector_nk.c @@ -93,7 +93,7 @@ _atom_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; bool ttl_dirty = false; if(nk_begin(ctx, "Window", wbounds, NK_WINDOW_NO_SCROLLBAR)) |