diff --git a/ueberzug/ui.py b/ueberzug/ui.py index 011a0dd..d6e7742 100644 --- a/ueberzug/ui.py +++ b/ueberzug/ui.py @@ -105,7 +105,8 @@ def transform_image(self, term_info: xutil.TerminalWindowInfo, transformed_image = self.cache.get(term_info) final_size = self.scaler.calculate_resolution( self.image, width, height) - options = self.scaler.get_scaler_name(), final_size + options = (self.scaler.get_scaler_name(), + self.scaling_position, final_size) if (transformed_image is None or transformed_image.options != options):