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:
		@@ -56,7 +56,7 @@ void TextFormatD2D::CreateLayout(const WCHAR* str, UINT strLen, float maxW, floa
 | 
			
		||||
 | 
			
		||||
		if (maxH != m_TextLayout->GetMaxHeight())
 | 
			
		||||
		{
 | 
			
		||||
			m_TextLayout->SetMaxWidth(maxH);
 | 
			
		||||
			m_TextLayout->SetMaxHeight(maxH);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	else
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user