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

DPI to DPR #1277

Merged
merged 2 commits into from
Aug 10, 2024
Merged

DPI to DPR #1277

merged 2 commits into from
Aug 10, 2024

Conversation

wp043
Copy link
Contributor

@wp043 wp043 commented Aug 7, 2024

✨ Pull Request

Fixes #1257

ℹ️ About the PR

According to the bug report, changed the field DPI in the custom device list to DPR. Also allows floating number by parseFloat instead of parseInt and I've changed the step of the DPR to 0.1 instead of the default 1 to allow users adjust the DPR more easily.

🖼️ Testing Scenarios / Screenshots

dpr-decimal

Copy link
Contributor

@violetadev violetadev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@violetadev violetadev merged commit e5fa6d1 into responsively-org:main Aug 10, 2024
4 checks passed
@violetadev
Copy link
Contributor

@all-contributors Please add @wp043 for code.

Copy link
Contributor

@violetadev

I've put up a pull request to add @wp043! 🎉

@manojVivek
Copy link
Collaborator

@all-contributors Please add @wp043 for code.

Adding again as the other PR was in merge conflict.

Copy link
Contributor

@manojVivek

@wp043 already contributed before to code

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.

"Device DPI" is actually Device Pixel Ratio (DPR) and should allow decimals
3 participants