Skip to content

Commit c8d8748

Browse files
author
Sandro Santilli
committed
Make north arrow decoration follow map rotation
Closes http://hub.qgis.org/issues/11818
1 parent 8d20272 commit c8d8748

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/qgsdecorationnortharrow.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -292,5 +292,8 @@ bool QgsDecorationNorthArrow::calculateNorthDirection()
292292
mRotationInt = 0;
293293
}
294294
}
295+
296+
mRotationInt += mapCanvas->mapSettings().rotation();
297+
295298
return goodDirn;
296299
}

0 commit comments

Comments
 (0)