mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
More warnings/minor fixes
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@836 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -35,8 +35,8 @@ void SymbolValueViewer::draw(RotatedDC& dc) {
|
||||
ar = min(style().max_aspect_ratio, max(style().min_aspect_ratio, ar));
|
||||
// render and filter variations
|
||||
FOR_EACH(variation, style().variations) {
|
||||
Image img = render_symbol(symbol, *variation->filter, variation->border_radius, 200 * ar, 200);
|
||||
Image resampled((int) (wh * ar), (int) wh, false);
|
||||
Image img = render_symbol(symbol, *variation->filter, variation->border_radius, int(200 * ar), 200);
|
||||
Image resampled(int(wh * ar), int(wh), false);
|
||||
resample(img, resampled);
|
||||
symbols.push_back(Bitmap(resampled));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user