diff options
author | David Robillard <d@drobilla.net> | 2014-03-16 16:28:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-03-16 16:28:31 +0000 |
commit | 7bf9f530dbdfcaa8151424908d492ef7c6c05e79 (patch) | |
tree | 4bba4fb82b556cd9f9e56ae0356112c5cceca9f8 /src | |
parent | e9a2fb845bf1fb99daa62168e03989c48c97d33f (diff) | |
download | ganv-7bf9f530dbdfcaa8151424908d492ef7c6c05e79.tar.gz ganv-7bf9f530dbdfcaa8151424908d492ef7c6c05e79.tar.bz2 ganv-7bf9f530dbdfcaa8151424908d492ef7c6c05e79.zip |
Don't trigger layout when node is selected (fix #959).
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5342 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -458,9 +458,9 @@ ganv_node_default_event(GanvItem* item, g_object_get(G_OBJECT(node), "selected", &selected, NULL); ganv_canvas_ungrab_item(GANV_ITEM(node), event->button.time); node->impl->grabbed = FALSE; - ganv_canvas_contents_changed(canvas); dragging = FALSE; if (event->button.x != drag_start_x || event->button.y != drag_start_y) { + ganv_canvas_contents_changed(canvas); if (selected) { ganv_canvas_selection_move_finished(canvas); } else { |