Commit 6389bf95 authored by twanvl's avatar twanvl

fix: scale images in image viewer

parent 2957ca29
......@@ -40,7 +40,7 @@ void ImageValueViewer::draw(RotatedDC& dc) {
Image image;
try {
if (!value().value->isNil()) {
image = value().value->toImage()->generate(opts);
image = value().value->toImage()->generateConform(opts);
}
} CATCH_ALL_ERRORS(false);
/*
......
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