Skip to content

Comments

Remove erroneous type casts#95

Open
pappnu wants to merge 1 commit intoInvestigamer:mainfrom
pappnu:cast-fix
Open

Remove erroneous type casts#95
pappnu wants to merge 1 commit intoInvestigamer:mainfrom
pappnu:cast-fix

Conversation

@pappnu
Copy link
Contributor

@pappnu pappnu commented Feb 13, 2025

Removes casts that were breaking card rendering. cast takes a type and an object in that order but it was being called in the reverse order in the code. I removed the cast calls altogether as the typing was already inferred as LayerSet | None even without the cast, at least when using Pyright.

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.

1 participant