Display theta character correctly in ruler tool
Fixes: lp:1749549 * https://bugs.launchpad.net/kicad/+bug/1749549
This commit is contained in:
parent
319b7cfc67
commit
b9285cf0e5
|
@ -48,7 +48,7 @@ static void drawCursorStrings( KIGFX::VIEW* aView, const VECTOR2D& aCursor,
|
||||||
cursorStrings.push_back( DimensionLabel( "r", aRulerVec.EuclideanNorm(), g_UserUnit ) );
|
cursorStrings.push_back( DimensionLabel( "r", aRulerVec.EuclideanNorm(), g_UserUnit ) );
|
||||||
|
|
||||||
double degs = RAD2DECIDEG( -aRulerVec.Angle() );
|
double degs = RAD2DECIDEG( -aRulerVec.Angle() );
|
||||||
cursorStrings.push_back( DimensionLabel( "θ", degs, DEGREES ) );
|
cursorStrings.push_back( DimensionLabel( wxString::FromUTF8( "θ" ), degs, DEGREES ) );
|
||||||
|
|
||||||
for( auto& str: cursorStrings )
|
for( auto& str: cursorStrings )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue