diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2007-12-26 11:19:54 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2007-12-26 11:19:54 +0000 |
| commit | c3707d1f929ff303572094636ec5f9edf4431f3e (patch) | |
| tree | ed04a22de2074382126ffb503688517e0b1cda6b /src/box3d-context.cpp | |
| parent | more on cairo ps/pdf options (diff) | |
| download | inkscape-c3707d1f929ff303572094636ec5f9edf4431f3e.tar.gz inkscape-c3707d1f929ff303572094636ec5f9edf4431f3e.zip | |
Don't show boxes as everted (i.e., always show the same sides) during initial drag, regardless of the mouse pointer position.
(bzr r4306)
Diffstat (limited to 'src/box3d-context.cpp')
| -rw-r--r-- | src/box3d-context.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/box3d-context.cpp b/src/box3d-context.cpp index f66647ef7..edc45e8d1 100644 --- a/src/box3d-context.cpp +++ b/src/box3d-context.cpp @@ -669,11 +669,13 @@ static void sp_box3d_drag(Box3DContext &bc, guint /*state*/) box->orig_corner0 = bc.drag_origin_proj; box->orig_corner7 = bc.drag_ptC_proj; + box3d_check_for_swapped_coords(box); + /* we need to call this from here (instead of from box3d_position_set(), for example) because z-order setting must not interfere with display updates during undo/redo */ box3d_set_z_orders (box); - box3d_position_set(SP_BOX3D(bc.item)); + box3d_position_set(box); // status text //GString *Ax = SP_PX_TO_METRIC_STRING(origin[NR::X], desktop->namedview->getDefaultMetric()); |
