Skip to content

Commit

Permalink
MeterRotator: Fixed issue with b582048
Browse files Browse the repository at this point in the history
Properly reset transform
  • Loading branch information
brianferguson committed Jul 27, 2018
1 parent b582048 commit 0822036
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Library/MeterRotator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ bool MeterRotator::Draw(Gfx::Canvas& canvas)

const D2D1_RECT_F rect = D2D1::RectF(0.0f, 0.0f, width, height);
canvas.DrawBitmap(drawBitmap, rect, rect);

canvas.ResetTransform();
}

return true;
Expand Down

0 comments on commit 0822036

Please sign in to comment.