diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2010-04-05 00:35:52 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2010-04-05 00:35:52 +0000 |
| commit | 0f80d9cd7596336ef16da1db940c383e4fb163e1 (patch) | |
| tree | 199829347b9c7f7ae581cb3fd80426c0493d113d /src/text-context.cpp | |
| parent | Translations. inkscape.pot update (glyph dialog again). (diff) | |
| parent | Coords: fix guidelines (diff) | |
| download | inkscape-0f80d9cd7596336ef16da1db940c383e4fb163e1.tar.gz inkscape-0f80d9cd7596336ef16da1db940c383e4fb163e1.zip | |
Second batch of coords fixes (guides, text cursor, zoom)
(bzr r9295)
Diffstat (limited to 'src/text-context.cpp')
| -rw-r--r-- | src/text-context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text-context.cpp b/src/text-context.cpp index 4f89bd1e1..984876f78 100644 --- a/src/text-context.cpp +++ b/src/text-context.cpp @@ -684,7 +684,7 @@ sp_text_context_root_handler(SPEventContext *const event_context, GdkEvent *cons // Cursor height is defined by the new text object's font size; it needs to be set // articifically here, for the text object does not exist yet: double cursor_height = sp_desktop_get_font_size_tool(desktop); - sp_ctrlline_set_coords(SP_CTRLLINE(tc->cursor), dtp, dtp + Geom::Point(0, cursor_height)); + sp_ctrlline_set_coords(SP_CTRLLINE(tc->cursor), dtp, dtp - Geom::Point(0, cursor_height)); event_context->_message_context->set(Inkscape::NORMAL_MESSAGE, _("Type text; <b>Enter</b> to start new line.")); // FIXME:: this is a copy of a string from _update_cursor below, do not desync event_context->within_tolerance = false; |
