diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2009-02-27 18:49:52 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2009-02-27 18:49:52 +0000 |
| commit | 895c9ddab6428b36e20df4535d8f72158a9f6950 (patch) | |
| tree | f47a22d549362e825876815f899cfe63df939508 /src/sp-text.cpp | |
| parent | Added work-around for broken themes that fill in with gtk_paint_border, inclu... (diff) | |
| download | inkscape-895c9ddab6428b36e20df4535d8f72158a9f6950.tar.gz inkscape-895c9ddab6428b36e20df4535d8f72158a9f6950.zip | |
More accurate wording in snap tooltips
(bzr r7388)
Diffstat (limited to 'src/sp-text.cpp')
| -rw-r--r-- | src/sp-text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-text.cpp b/src/sp-text.cpp index 91a8a0361..61947311c 100644 --- a/src/sp-text.cpp +++ b/src/sp-text.cpp @@ -433,7 +433,7 @@ static void sp_text_snappoints(SPItem const *item, bool const target, SnapPoints // the baseline anchor of the first char Inkscape::Text::Layout const *layout = te_get_layout((SPItem *) item); if(layout != NULL) { - int type = target ? int(Inkscape::SNAPTARGET_HANDLE) : int(Inkscape::SNAPSOURCE_HANDLE); + int type = target ? int(Inkscape::SNAPTARGET_TEXT_BASELINE) : int(Inkscape::SNAPSOURCE_TEXT_BASELINE); p.push_back(std::make_pair(layout->characterAnchorPoint(layout->begin()) * sp_item_i2d_affine(item), type)); } } |
