aboutsummaryrefslogtreecommitdiff
path: root/atom_inspector_ui.c
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-04-30 20:59:33 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-04-30 20:59:33 +0200
commit1463aa4f5ad1cea70d3f0e4a02a1118850d8e725 (patch)
tree21521a9bb333416122aa219c56337df3a6d584fd /atom_inspector_ui.c
parent677db962b41cff95aef64ce923bf0d5de15cca85 (diff)
downloadsherlock.lv2-1463aa4f5ad1cea70d3f0e4a02a1118850d8e725.tar.xz
just recording at maximal event number.
Diffstat (limited to 'atom_inspector_ui.c')
-rw-r--r--atom_inspector_ui.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/atom_inspector_ui.c b/atom_inspector_ui.c
index aa5c9ce..e9c4b0b 100644
--- a/atom_inspector_ui.c
+++ b/atom_inspector_ui.c
@@ -657,11 +657,7 @@ port_event(LV2UI_Handle handle, uint32_t i, uint32_t size, uint32_t urid,
// check item count
if(elm_genlist_items_count(ui->list) >= COUNT_MAX)
- {
- // remove first item to free space for the most recent one
- Elm_Object_Item *first = elm_genlist_first_item_get(ui->list);
- elm_object_item_del(first);
- }
+ break;
/* TODO would be correct
const LV2_Atom *atom = &elmnt->body;
@@ -675,7 +671,7 @@ port_event(LV2UI_Handle handle, uint32_t i, uint32_t size, uint32_t urid,
type, NULL, NULL);
// scroll to last item
- elm_genlist_item_show(itm, ELM_GENLIST_ITEM_SCROLLTO_MIDDLE);
+ //elm_genlist_item_show(itm, ELM_GENLIST_ITEM_SCROLLTO_MIDDLE);
}
}
}