Skip to content

Remove erroneous type casts - #95

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

pappnu wants to merge 1 commit into
Investigamer:mainfrom
pappnu:cast-fix

Conversation

@pappnu

@pappnu pappnu commented Feb 13, 2025

Copy link
Copy Markdown
Contributor

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.

This branch has not been deployed

No deployments
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