We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 851821b commit 0e8403aCopy full SHA for 0e8403a
arcade/sprite/base.py
@@ -198,6 +198,7 @@ def size(self, new_value: Point2):
198
if width != self._width or height != self._height:
199
texture_width, texture_height = self._texture.size
200
self._scale = width / texture_width, height / texture_height
201
+ self._hit_box.scale = self._scale
202
self._width = width
203
self._height = height
204
0 commit comments