|
|
@@ -184,7 +184,7 @@ struct ModelBox : widget::OpaqueWidget { |
|
|
|
previewWidget->addChild(zoomWidget); |
|
|
|
|
|
|
|
fb = new widget::FramebufferWidget; |
|
|
|
if (math::isNear(APP->window->pixelRatio, 1.0)) { |
|
|
|
if (APP->window->pixelRatio < 2.0) { |
|
|
|
// Small details draw poorly at low DPI, so oversample when drawing to the framebuffer |
|
|
|
fb->oversample = 2.0; |
|
|
|
} |
|
|
|