Fix RichAnno positioning for Scale != 1

This commit is contained in:
wandererfan
2019-05-14 15:38:51 +02:00
committed by wmayer
parent a537e34077
commit 02b689a1f6
+2 -2
View File
@@ -152,8 +152,8 @@ void QGIRichAnno::textDragFinished(void)
return;
}
double x = Rez::appX(m_text->x()),
y = - Rez::appX(m_text->y());
double x = Rez::appX(m_text->x()) / getScale();
double y = - Rez::appX(m_text->y()) / getScale();
anno->X.setValue(x);
anno->Y.setValue(y);
}