mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
Merge pull request #12 from G-e-n-e-v-e-n-s-i-S/print-bug-fix
fix typeline print bug
This commit is contained in:
@@ -50,8 +50,8 @@ bool prepare_choice_viewer(RotatedDC& dc, ValueViewer& viewer, ChoiceStyle& styl
|
|||||||
img.generateCached(img_options, &style.mask, &combine, &bitmap, &image, &size);
|
img.generateCached(img_options, &style.mask, &combine, &bitmap, &image, &size);
|
||||||
// store content properties
|
// store content properties
|
||||||
if (style.content_width != size.width || style.content_height != size.height) {
|
if (style.content_width != size.width || style.content_height != size.height) {
|
||||||
style.content_width = size.width;
|
style.content_width = size.width / dc.getZoom();
|
||||||
style.content_height = size.height;
|
style.content_height = size.height / dc.getZoom();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user