Fixed alignment of images when zoom != 1

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@629 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-08-25 01:09:46 +00:00
parent 3937f217a0
commit 741b987d54
+1 -1
View File
@@ -75,7 +75,7 @@ void ChoiceValueViewer::draw(RotatedDC& dc) {
}
// draw
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,
style().angle
);