Skip to content

Commit a81767e

Browse files
committed
Fix pyright issue and bug in scaling
1 parent c845eeb commit a81767e

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
@@ -267,7 +267,7 @@ def texture(self, texture: Texture) -> None:
267267
)
268268

269269
self._texture = texture
270-
self._size = texture.size * self._size
270+
self._size = texture.size * self._scale
271271

272272
self.update_spatial_hash()
273273
for sprite_list in self.sprite_lists:

0 commit comments

Comments
 (0)