mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed issue with StringAlign and Relative Positioning
This commit is contained in:
parent
0e01961c66
commit
956465b96c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user