mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fix build bustage caused by 38ec6c3
This commit is contained in:
parent
616f986181
commit
63f5eed742
@ -313,7 +313,7 @@ void CanvasD2D::DrawTextW(const WCHAR* str, UINT strLen, const TextFormat& forma
|
|||||||
{
|
{
|
||||||
TextFormatD2D& formatD2D = (TextFormatD2D&)format;
|
TextFormatD2D& formatD2D = (TextFormatD2D&)format;
|
||||||
formatD2D.CreateLayout(
|
formatD2D.CreateLayout(
|
||||||
str, strLen, rect.Width, rect.Height, !m_AccurateText && m_TextAntiAliasing);
|
str, strLen, rect.Width, rect.Height);
|
||||||
|
|
||||||
const float xOffset = formatD2D.m_TextFormat->GetFontSize() / 6.0f;
|
const float xOffset = formatD2D.m_TextFormat->GetFontSize() / 6.0f;
|
||||||
const float xPos = [&]()
|
const float xPos = [&]()
|
||||||
|
Loading…
Reference in New Issue
Block a user