aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/life.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/life.py b/src/components/life.py
index b3c2c58..5b719d1 100644
--- a/src/components/life.py
+++ b/src/components/life.py
@@ -179,7 +179,7 @@ class Component(Component):
img = Image.open(self.image)
except Exception:
return
- img = img.resize((self.pxWidth, self.pxHeight), Image.ANTIALIAS)
+ img = img.resize((self.pxWidth, self.pxHeight), Image.Resampling.LANCZOS)
frame.paste(img, box=(drawPtX, drawPtY))
def drawShape():