Skip to content

DPI to DPR#1277

Merged
violetadev merged 2 commits intoresponsively-org:mainfrom
wp043:dpr-decimal
Aug 10, 2024
Merged

DPI to DPR#1277
violetadev merged 2 commits intoresponsively-org:mainfrom
wp043:dpr-decimal

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
@violetadev
Copy link
Contributor

@all-contributors Please add @wp043 for code.

@allcontributors
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.

@allcontributors
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