From: johanengelen Date: Sun, 1 Oct 2006 14:39:18 +0000 (+0000) Subject: While moving or transforming a selected object, the statusbartext with transformation... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=34007d0ae6b85fdd2d1e4c67bcf5ee6964c7bcb7;p=inkscape.git While moving or transforming a selected object, the statusbartext with transformation information (angle, etc) is no longer overwritten by the standard text. --- diff --git a/src/select-context.cpp b/src/select-context.cpp index c527471f5..8f971149e 100644 --- a/src/select-context.cpp +++ b/src/select-context.cpp @@ -637,6 +637,10 @@ sp_select_context_root_handler(SPEventContext *event_context, GdkEvent *event) if (!key_is_a_modifier (get_group0_keyval (&event->key))) { event_context->defaultMessageContext()->clear(); + } else if (sc->grabbed || seltrans->isGrabbed()) { + // do not change the statusbar text when mousekey is down to move or transform the object, + // because the statusbar text is already updated somewhere else. + break; } else { sp_event_show_modifier_tip (event_context->defaultMessageContext(), event, _("Ctrl: select in groups, move hor/vert"), diff --git a/src/seltrans.h b/src/seltrans.h index 5326c7b87..80bbbcf35 100644 --- a/src/seltrans.h +++ b/src/seltrans.h @@ -80,6 +80,9 @@ public: bool isEmpty() { return _empty; } + bool isGrabbed() { + return _grabbed; + } private: void _updateHandles();