Fixed issue with StringAlign and Relative Positioning

This commit is contained in:
Brian Ferguson 2012-08-12 23:42:50 -06:00
parent 0e01961c66
commit 956465b96c

View File

@ -118,11 +118,11 @@ int CMeter::GetY(bool abs)
{
if (m_RelativeY == POSITION_RELATIVE_TL)
{
return m_RelativeMeter->GetY() + m_Y;
return m_RelativeMeter->GetY(true) + m_Y;
}
else
{
return m_RelativeMeter->GetY() + m_RelativeMeter->GetH() + m_Y;
return m_RelativeMeter->GetY(true) + m_RelativeMeter->GetH() + m_Y;
}
}
return m_Y;