mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
String: Fix issue with Angle= since 59b3dea
This commit is contained in:
parent
5b60d6c400
commit
72bf8dc317
@ -543,7 +543,8 @@ bool MeterString::DrawString(Gfx::Canvas& canvas, RectF* rect)
|
||||
|
||||
if (m_Angle != 0.0f)
|
||||
{
|
||||
canvas.RotateTransform(CONVERT_TO_DEGREES(m_Angle), x, y, -x, -y);
|
||||
const float baseX = (float)Meter::GetX();
|
||||
canvas.RotateTransform(CONVERT_TO_DEGREES(m_Angle), baseX, y, -baseX, -y);
|
||||
}
|
||||
|
||||
if (m_Effect != EFFECT_NONE)
|
||||
|
Loading…
Reference in New Issue
Block a user