]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewImage.cpp
Fix bug #8258 (Zoom of editor doesn't zoom instant preview)
[lyx.git] / src / graphics / PreviewImage.cpp
index 31853655e5aea9dcf43f261e3a46a139e065a65e..5eecfcc48a8f1a7add5a059b1726c9414e48ae10 100644 (file)
@@ -105,6 +105,7 @@ PreviewImage::Impl::Impl(PreviewImage & p, PreviewLoader & l,
        : parent_(p), ploader_(l), iloader_(bf),
          snippet_(s), ascent_frac_(af)
 {
+       iloader_.setDisplayPixelRatio(l.displayPixelRatio());
        iloader_.connect(bind(&Impl::statusChanged, this));
 }