diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-08-21 01:37:25 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-08-21 01:37:25 +0000 |
| commit | 3a42bb51dbbe50879f8a4470851284f2b1d988ef (patch) | |
| tree | e58cb1ac32af837f5fa3745adee553baa5da0882 /src/arc-context.cpp | |
| parent | add colon before value description (diff) | |
| download | inkscape-3a42bb51dbbe50879f8a4470851284f2b1d988ef.tar.gz inkscape-3a42bb51dbbe50879f8a4470851284f2b1d988ef.zip | |
gobble more of motion events; make statusbar messages immediate for better visual feedback
(bzr r3561)
Diffstat (limited to 'src/arc-context.cpp')
| -rw-r--r-- | src/arc-context.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/arc-context.cpp b/src/arc-context.cpp index 44c85bf0b..d5a25b61b 100644 --- a/src/arc-context.cpp +++ b/src/arc-context.cpp @@ -291,9 +291,11 @@ static gint sp_arc_context_root_handler(SPEventContext *event_context, GdkEvent SnapManager const &m = desktop->namedview->snap_manager; motion_dt = m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, motion_dt, ac->item).getPoint(); - sp_arc_drag(ac, motion_dt, event->motion.state); + + gobble_motion_events(GDK_BUTTON1_MASK); + ret = TRUE; } break; @@ -439,7 +441,7 @@ static void sp_arc_drag(SPArcContext *ac, NR::Point pt, guint state) GString *xs = SP_PX_TO_METRIC_STRING(r.dimensions()[NR::X], desktop->namedview->getDefaultMetric()); GString *ys = SP_PX_TO_METRIC_STRING(r.dimensions()[NR::Y], desktop->namedview->getDefaultMetric()); - ac->_message_context->setF(Inkscape::NORMAL_MESSAGE, _("<b>Ellipse</b>: %s × %s; with <b>Ctrl</b> to make circle or integer-ratio ellipse; with <b>Shift</b> to draw around the starting point"), xs->str, ys->str); + ac->_message_context->setF(Inkscape::IMMEDIATE_MESSAGE, _("<b>Ellipse</b>: %s × %s; with <b>Ctrl</b> to make circle or integer-ratio ellipse; with <b>Shift</b> to draw around the starting point"), xs->str, ys->str); g_string_free(xs, FALSE); g_string_free(ys, FALSE); } |
