[graphics] remove text jittering on drag

This commit is contained in:
Darafei Praliaskouski 2013-09-30 16:34:10 +03:00 committed by Alex Zolotarev
parent eb757c6f4d
commit cd35c9f6a7

View file

@ -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