aboutsummaryrefslogtreecommitdiff
path: root/midi_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 /midi_inspector_nk.c
parentae914e4c6072a468792a6f93f0b8875f9be94c45 (diff)
downloadsherlock.lv2-babeddd5874d4bd4f89f8995dbfff8d9b94af9cc.tar.xz
nk: count events instead of sequences.
Diffstat (limited to 'midi_inspector_nk.c')
-rw-r--r--midi_inspector_nk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/midi_inspector_nk.c b/midi_inspector_nk.c
index a0548f3..df39f30 100644
--- a/midi_inspector_nk.c
+++ b/midi_inspector_nk.c
@@ -475,11 +475,12 @@ _midi_inspector_expose(struct nk_context *ctx, struct nk_rect wbounds, void *dat
_empty(ctx);
}
}
+ counter += 1;
}
-
- counter += 1;
}
+ handle->count = counter;
+
const struct nk_panel *panel = nk_window_get_panel(ctx);
if(handle->bottom)
{