Skip to content

Fix issue #5702 #5747

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

Merged
merged 1 commit into from
Aug 1, 2022
Merged

Fix issue #5702 #5747

merged 1 commit into from
Aug 1, 2022

Conversation

msed21
Copy link
Contributor

@msed21 msed21 commented Jul 31, 2022

Resolves #5702

Changes:
Updated the regex used to extract the size values from styles.getPropertyValue() to include the decimal and then round it before updating the property.

PR Checklist

@limzykenneth limzykenneth merged commit f711e31 into processing:main Aug 1, 2022
@limzykenneth
Copy link
Member

Looks good. Thanks!

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.

p5.Element.style() does not correctly update the width, height, left, and top properties if they are changed in the CSS.
2 participants