Skip to content

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