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

fix: ScreenSizer scale should be optional #1834

Merged
merged 1 commit into from Feb 19, 2024

Conversation

RodrigoHamuy
Copy link
Contributor

ScreenSizer scale should be optional, so if not set it defaults to 1.

Why

On my last PR, I missed that scale wasn't set as optional, so it forces the user to set the scale. Instead it should be optional, and default to 1 when not set.

What

Set ScreenSizer scale prop as optional.

Checklist

  • Ready to be merged

`ScreenSizer` `scale` should be optional, so if not set it defaults to `1`.
Copy link

vercel bot commented Feb 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
drei ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 17, 2024 5:21pm

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@CodyJasonBennett CodyJasonBennett changed the title ScreenSizer scale should be optional fix: ScreenSizer scale should be optional Feb 19, 2024
@CodyJasonBennett CodyJasonBennett merged commit bf4df9e into pmndrs:master Feb 19, 2024
4 checks passed
Copy link

🎉 This PR is included in version 9.99.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@RodrigoHamuy RodrigoHamuy deleted the patch-1 branch February 19, 2024 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants