From 97fd64862c2516746d40d5f570fc3f7b2ea45e79 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 18 Dec 2011 18:22:04 +0000 Subject: Fix port controls update while dragging/clicking. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3888 a436a847-0d15-0410-975c-d299462d15a1 --- src/module.c | 2 -- src/port.c | 1 - 2 files changed, 3 deletions(-) (limited to 'src') diff --git a/src/module.c b/src/module.c index ea9ff99..8ca3d72 100644 --- a/src/module.c +++ b/src/module.c @@ -520,11 +520,9 @@ ganv_module_update(GanvItem* item, int flags) GanvItemClass* item_class = GANV_ITEM_CLASS(parent_class); item_class->update(item, flags); - /* FOREACH_PORT(module->impl->ports, p) { ganv_item_invoke_update(GANV_ITEM(*p), flags); } - */ } static void diff --git a/src/port.c b/src/port.c index 974086a..d220601 100644 --- a/src/port.c +++ b/src/port.c @@ -406,7 +406,6 @@ ganv_port_set_control_value(GanvPort* port, impl->control->value = value; ganv_item_request_update(GANV_ITEM(port)); - ganv_item_request_update(GANV_ITEM(port->impl->control->rect)); } void -- cgit v1.2.1