summaryrefslogtreecommitdiffstats
path: root/src/sp-item.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mailat-signdiedenrezidotnl>2009-12-30 14:34:51 +0000
committerDiederik van Lierop <mailat-signdiedenrezidotnl>2009-12-30 14:34:51 +0000
commit760e1d9dca7bff3c00758d8efc38f8ba22766e08 (patch)
tree96ed2a38abe420eb10ed234060d5595accd3101f /src/sp-item.cpp
parentDummy merge to get good version history. (diff)
downloadinkscape-760e1d9dca7bff3c00758d8efc38f8ba22766e08.tar.gz
inkscape-760e1d9dca7bff3c00758d8efc38f8ba22766e08.zip
Small snap bug has been eliminated, flowed text snapping now uses baseline, replacing tabs by spaces, removing some commented lines
(bzr r8925)
Diffstat (limited to 'src/sp-item.cpp')
-rw-r--r--src/sp-item.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index 9f7157b99..1a5ca6f77 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -962,11 +962,11 @@ static void sp_item_private_snappoints(SPItem const *item, bool const target, Sn
Geom::Point p1, p2;
p1 = bbox->min();
p2 = bbox->max();
- int type = target ? int(Inkscape::SNAPSOURCE_CONVEX_HULL_CORNER) : int(Inkscape::SNAPSOURCE_CONVEX_HULL_CORNER);
+ int type = target ? int(Inkscape::SNAPTARGET_BBOX_CORNER) : int(Inkscape::SNAPSOURCE_BBOX_CORNER);
p.push_back(std::make_pair(p1, type));
p.push_back(std::make_pair(Geom::Point(p1[Geom::X], p2[Geom::Y]), type));
p.push_back(std::make_pair(p2, type));
- p.push_back(std::make_pair(Geom::Point(p1[Geom::Y], p2[Geom::X]), type));
+ p.push_back(std::make_pair(Geom::Point(p2[Geom::X], p1[Geom::Y]), type));
}
}