diff options
| author | John Bintz <me@johnbintz.com> | 2006-07-23 04:31:19 +0000 |
|---|---|---|
| committer | johncoswell <johncoswell@users.sourceforge.net> | 2006-07-23 04:31:19 +0000 |
| commit | 23a89f90650bd91d1e975deb80ea5e535af89cfe (patch) | |
| tree | 4df6ae2bcc4540638016fc27d9e7ae24b56a4a98 /src/node-context.cpp | |
| parent | Forced redraw of canvas upon document commit to work around event starvation ... (diff) | |
| download | inkscape-23a89f90650bd91d1e975deb80ea5e535af89cfe.tar.gz inkscape-23a89f90650bd91d1e975deb80ea5e535af89cfe.zip | |
added SPDesktop::updateNow() and forced redraw of canvas upon completion of selection or panning to work around event starvation issue at
high zoom levels
(bzr r1459)
Diffstat (limited to 'src/node-context.cpp')
| -rw-r--r-- | src/node-context.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node-context.cpp b/src/node-context.cpp index f38985c71..8f8a48bf7 100644 --- a/src/node-context.cpp +++ b/src/node-context.cpp @@ -452,6 +452,7 @@ sp_node_context_item_handler(SPEventContext *event_context, SPItem *item, GdkEve } else { sp_nodepath_select_segment_near_point(nc->nodepath, nc->curvepoint_doc, false); } + desktop->updateNow(); } break; case GDK_2BUTTON_PRESS: @@ -464,8 +465,10 @@ sp_node_context_item_handler(SPEventContext *event_context, SPItem *item, GdkEve } } else if (event->button.state & GDK_SHIFT_MASK) { selection->toggle(item_clicked); + desktop->updateNow(); } else { selection->set(item_clicked); + desktop->updateNow(); } ret = TRUE; @@ -636,6 +639,7 @@ sp_node_context_root_handler(SPEventContext *event_context, GdkEvent *event) } ret = TRUE; Inkscape::Rubberband::get()->stop(); + desktop->updateNow(); nc->rb_escaped = false; nc->drag = FALSE; nc->hit = false; |
