Skip to content

Commit 300e876

Browse files
committed
Fix pyright issue and bug in scaling
1 parent 246521b commit 300e876

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
@@ -251,7 +251,7 @@ def texture(self, texture: Texture) -> None:
251251
)
252252

253253
self._texture = texture
254-
self._size = texture.size * self._size
254+
self._size = texture.size * self._scale
255255

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

0 commit comments

Comments
 (0)