aboutsummaryrefslogtreecommitdiff
path: root/osc_inspector_nk.c
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-11-05 12:50:08 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-11-05 12:50:08 +0100
commitbabeddd5874d4bd4f89f8995dbfff8d9b94af9cc (patch)
tree0ff85a1957447d239f904902edd51a96aec66141 /osc_inspector_nk.c
parentae914e4c6072a468792a6f93f0b8875f9be94c45 (diff)
downloadsherlock.lv2-babeddd5874d4bd4f89f8995dbfff8d9b94af9cc.tar.xz
nk: count events instead of sequences.
Diffstat (limited to 'osc_inspector_nk.c')
-rw-r--r--osc_inspector_nk.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/osc_inspector_nk.c b/osc_inspector_nk.c
index f72376a..cbfb1c9 100644
--- a/osc_inspector_nk.c
+++ b/osc_inspector_nk.c
@@ -369,11 +369,13 @@ _osc_inspector_expose(struct nk_context *ctx, struct nk_rect wbounds, void *data
nk_labelf_colored(ctx, NK_TEXT_LEFT, yellow, "+%04"PRIi64, frames);
_osc_packet(handle, ctx, obj, off);
- }
- counter += 1;
+ counter += 1;
+ }
}
+ handle->count = counter;
+
const struct nk_panel *panel = nk_window_get_panel(ctx);
if(handle->bottom)
{