Skip to content

Conversation

@DzmitryRaznitsyn
Copy link

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