Skip to content

Fix Sprite init#2376

Merged
einarf merged 1 commit intopythonarcade:developmentfrom
DigiDuncan:fix_sprite_init
Sep 29, 2024
Merged

Fix Sprite init#2376
einarf merged 1 commit intopythonarcade:developmentfrom
DigiDuncan:fix_sprite_init

Conversation

@DigiDuncan
Copy link
Collaborator

Sprite's scale property now takes either a scalar or a tuple correctly.

(It still returns a Vec2 to support Sprite.scale *= 2 for the time being; we can discuss changes to this later.)

@einarf einarf merged commit fb28eea into pythonarcade:development Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants