Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plumb StyleImageMetadata through to the shield library #1006

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

ZeLonewolf
Copy link
Member

Fixes #1004

This PR adds internal plumbing for the shield library to accept more robust sprite inputs by passing in a StyleImageMetata object, instead of just a pixel ratio. This will ultimately be needed for any shield library user that might want to use and SDF.

Additional work beyond this in shield.js would be needed to make use of other options in StyleImageMetadata.

This is a no-op change that reduces a little technical debt.

@ZeLonewolf ZeLonewolf requested a review from 1ec5 December 15, 2023 03:48
@ZeLonewolf ZeLonewolf merged commit b8d11be into main Dec 15, 2023
6 checks passed
@ZeLonewolf ZeLonewolf deleted the zlw-ml-options branch December 15, 2023 05:55
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.

allow SpriteRepository.putImage to use StyleImageMetadata
2 participants