mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
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:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user