Skip to content

Update croppie.js#608

Open
DzmitryRaznitsyn wants to merge 1 commit intoFoliotek:masterfrom
DzmitryRaznitsyn:patch-1
Open

Update croppie.js#608
DzmitryRaznitsyn wants to merge 1 commit intoFoliotek:masterfrom
DzmitryRaznitsyn:patch-1

Conversation

@DzmitryRaznitsyn
Copy link
Copy Markdown

Conditions : user sets text size to 125% in the Windows operating system Display settings
Error: wrong calculation of offsetWidth and offsetHeight in "function _get()"
Consequence: wrong calculation of cropped image sizes
Fix: offsetWidth and offsetHeight replaced with getBoundingClientRect().width and getBoundingClientRect().height

Conditions : user sets text size to 125% in the Windows operating system Display settings
Error: wrong calculation of offsetWidth and offsetHeight in "function _get()"
Consequence: wrong calculation of cropped image sizes
Fix: offsetWidth and offsetHeight replaced with getBoundingClientRect().width and getBoundingClientRect().height
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