aboutsummaryrefslogtreecommitdiff
path: root/atom_inspector_nk.c
diff options
context:
space:
mode:
Diffstat (limited to 'atom_inspector_nk.c')
-rw-r--r--atom_inspector_nk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/atom_inspector_nk.c b/atom_inspector_nk.c
index 4631a6b..8c1d8c6 100644
--- a/atom_inspector_nk.c
+++ b/atom_inspector_nk.c
@@ -112,6 +112,7 @@ _atom_inspector_expose(struct nk_context *ctx, struct nk_rect wbounds, void *dat
{
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;