From 5f1231d17e535f84a3bcd7007d1bdd3840d5cf0f Mon Sep 17 00:00:00 2001 From: AboudFayad Date: Wed, 6 Apr 2022 11:30:03 -0500 Subject: [PATCH] Do not recenter view while interpolating --- gpi_core/display/GPI/ImageViewer_GPI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpi_core/display/GPI/ImageViewer_GPI.py b/gpi_core/display/GPI/ImageViewer_GPI.py index 2a35385..b608d56 100644 --- a/gpi_core/display/GPI/ImageViewer_GPI.py +++ b/gpi_core/display/GPI/ImageViewer_GPI.py @@ -1658,7 +1658,7 @@ def interpolate_image(self, on): else: self.image.setImage(self.image_data) self.interpolate = False - self.viewbox.autoRange() + # self.viewbox.autoRange() def copy_image(self): self.image_exporter.params['width'] = self.viewbox.screenGeometry().width()