Skip to content

Commit

Permalink
Make north arrow decoration follow map rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandro Santilli committed Jan 9, 2015
1 parent 8d20272 commit c8d8748
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/qgsdecorationnortharrow.cpp
Expand Up @@ -292,5 +292,8 @@ bool QgsDecorationNorthArrow::calculateNorthDirection()
mRotationInt = 0;
}
}

mRotationInt += mapCanvas->mapSettings().rotation();

return goodDirn;
}

0 comments on commit c8d8748

Please sign in to comment.