Commit 4a603cac authored by twanvl's avatar twanvl

Fixed alignment of images when zoom != 1

parent b0465300
...@@ -75,7 +75,7 @@ void ChoiceValueViewer::draw(RotatedDC& dc) { ...@@ -75,7 +75,7 @@ void ChoiceValueViewer::draw(RotatedDC& dc) {
} }
// draw // draw
dc.DrawImage(image, dc.DrawImage(image,
align_in_rect(style().alignment, RealSize(image.GetWidth(), image.GetHeight()), style().getRect()), align_in_rect(style().alignment, dc.trInvS(RealSize(image.GetWidth(), image.GetHeight())), style().getRect()),
combine == COMBINE_NORMAL ? style().combine : combine, combine == COMBINE_NORMAL ? style().combine : combine,
style().angle style().angle
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment