Attempt to fix compile error.
This commit is contained in:
parent
5621e49b21
commit
aa8f091035
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue