about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/ext/img_display.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/ext/img_display.py b/ranger/ext/img_display.py
index 2d5b20a0..9c84ce5e 100644
--- a/ranger/ext/img_display.py
+++ b/ranger/ext/img_display.py
@@ -709,8 +709,8 @@ class UeberzugImageDisplayer(ImageDisplayer):
             identifier=self.IMAGE_ID,
             x=start_x,
             y=start_y,
-            max_width=width - 1,
-            max_height=height - 1,
+            max_width=width,
+            max_height=height,
             path=path
         )