We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c22f5de commit 7a2be42Copy full SHA for 7a2be42
src/app/qgsmaptoolannotation.cpp
@@ -173,7 +173,7 @@ void QgsMapToolAnnotation::canvasMoveEvent( QgsMapMouseEvent* e )
173
{
174
if ( mCurrentMoveAction == QgsMapCanvasAnnotationItem::MoveMapPosition )
175
176
- QgsPoint mapPos = transformCanvasToAnnotation( toMapCoordinates( e->pos() ), annotation );
+ QgsPoint mapPos = transformCanvasToAnnotation( e->snapPoint( QgsMapMouseEvent::SnapProjectConfig ), annotation );
177
annotation->setMapPosition( mapPos );
178
annotation->setRelativePosition( QPointF( e->posF().x() / mCanvas->width(),
179
e->posF().y() / mCanvas->height() ) );
0 commit comments