diff options
author | Darafei Praliaskouski <komzpa@gmail.com> | 2013-09-30 17:34:10 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:03:00 +0300 |
commit | cd35c9f6a7c9fe9dc26b4045a21b1946cb19ae09 (patch) | |
tree | a2bfd3942fafeeb3bd8a3f33019b563cf1e43bef /graphics/text_element.cpp | |
parent | eb757c6f4ded9b6709a44f98fe767451b9a9919a (diff) |
[graphics] remove text jittering on drag
Diffstat (limited to 'graphics/text_element.cpp')
-rw-r--r-- | graphics/text_element.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/graphics/text_element.cpp b/graphics/text_element.cpp index b2bea7aaff..7523a19d85 100644 --- a/graphics/text_element.cpp +++ b/graphics/text_element.cpp @@ -139,11 +139,6 @@ namespace graphics if (doTransformPivotOnly) { m2::PointD offsPt = offs + elem.m_pt; - m2::PointD fullPt = pv + offs + elem.m_pt; - - offsPt.x -= fullPt.x - floor(fullPt.x); - offsPt.y -= fullPt.y - floor(fullPt.y); - screen->drawStraightGlyph(pv, offsPt, glyph, depth); } else |