From c3707d1f929ff303572094636ec5f9edf4431f3e Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Wed, 26 Dec 2007 11:19:54 +0000 Subject: Don't show boxes as everted (i.e., always show the same sides) during initial drag, regardless of the mouse pointer position. (bzr r4306) --- src/box3d-context.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/box3d-context.cpp') 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()); -- cgit v1.2.3