Skip to content
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

Merge pull request #60 from processing/fix_static_pixel_density #60

Merged
merged 1 commit into from
Jan 20, 2020

Conversation

sampottinger
Copy link
Collaborator

@sampottinger sampottinger commented Jan 20, 2020

Per #58, pixelDensity should run in settings and currently results in failure if used in static context. This PR resolves that failure and adds unit tests for both scenarios.

Resolves #58.

Per #58, pixelDensity should run in settings and currently results in failure if used in static context. This will rewrite pixelDensity into the setting section if found in static or settings context. Adds unit tests for both scenarios.
@sampottinger sampottinger self-assigned this Jan 20, 2020
@benfry benfry changed the title Resolve rewrite of pixelDensity to settings. Merge pull request #60 from processing/fix_static_pixel_density Jan 20, 2020
@benfry benfry merged commit 50f06bf into master Jan 20, 2020
@benfry benfry deleted the fix_static_pixel_density branch January 20, 2020 19:59
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

“pixelDensity() cannot be used here” in static mode sketches (regression from 3.x)
2 participants