Skip to content

Commit b619ea7

Browse files
committed
Fix pyright issue and bug in scaling
1 parent 57621d2 commit b619ea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arcade/sprite/sprite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def texture(self, texture: Texture) -> None:
250250
)
251251

252252
self._texture = texture
253-
self._size = texture.size * self._size
253+
self._size = texture.size * self._scale
254254

255255
self.update_spatial_hash()
256256
for sprite_list in self.sprite_lists:

0 commit comments

Comments
 (0)