From fbe9050d9bcbb6a19b88f4de7c02ca6a1ccb3c21 Mon Sep 17 00:00:00 2001 From: pushfoo <36696816+pushfoo@users.noreply.github.com> Date: Thu, 18 Jul 2024 20:30:39 -0400 Subject: [PATCH] Formatting --- arcade/sprite/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arcade/sprite/base.py b/arcade/sprite/base.py index 16064bdf9..b3caace2e 100644 --- a/arcade/sprite/base.py +++ b/arcade/sprite/base.py @@ -206,7 +206,7 @@ def height(self, new_value: float): size = self._size if new_value == size[1]: - return + return new_scale = Vec2(self._scale[0], new_value / self._texture.height) self._scale = new_scale