mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Gfx: Fix incorrect text height/width with D2D in some cases due to typo
This commit is contained in:
parent
a3efbbac3f
commit
21f5ff1303
@ -56,7 +56,7 @@ void TextFormatD2D::CreateLayout(const WCHAR* str, UINT strLen, float maxW, floa
|
|||||||
|
|
||||||
if (maxH != m_TextLayout->GetMaxHeight())
|
if (maxH != m_TextLayout->GetMaxHeight())
|
||||||
{
|
{
|
||||||
m_TextLayout->SetMaxWidth(maxH);
|
m_TextLayout->SetMaxHeight(maxH);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user