Attempt to fix compile error.

This commit is contained in:
Jeff Young 2022-01-08 18:00:24 +00:00
parent 5621e49b21
commit aa8f091035
1 changed files with 2 additions and 3 deletions

View File

@ -69,9 +69,8 @@ void LABEL_MANAGER::Add( VECTOR2I target, std::string msg, COLOR4D color )
KIFONT::FONT* strokeFont = KIFONT::FONT::GetFont( wxEmptyString );
UTF8 text( msg );
VECTOR2I textDims = strokeFont->StringBoundaryLimits( m_gal, text,
VECTOR2D( m_textSize, m_textSize ),
m_textSize/8 );
VECTOR2I textDims = strokeFont->StringBoundaryLimits( text, VECTOR2D( m_textSize, m_textSize ),
m_textSize/8, false, false );
lbl.m_bbox.SetOrigin( lbl.m_target - textDims - VECTOR2I( m_textSize, m_textSize ) );
lbl.m_bbox.SetSize( textDims );