Issue #77 Break dependency of icon on angle

This commit is contained in:
Mat Sutcliffe
2020-08-27 20:37:15 +01:00
parent 479210957a
commit 39e9e6f128
6 changed files with 3 additions and 16 deletions

View File

@@ -52,7 +52,7 @@ namespace BlackMisc
CIcon CAngle::toIcon() const
{
CIcon i = CIcon::iconByIndex(CIcons::StandardIconArrowMediumNorth16);
i.setRotation(*this);
i.setRotation(value(CAngleUnit::deg()));
return i;
}