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

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

Closed
processing-bot opened this issue Jan 20, 2020 · 4 comments

Comments

@processing-bot
Copy link
Collaborator

Created by: benfry

A sketch with nothing but this code worked in 3.x:

pixelDensity(displayDensity());

But now throws an error saying pixelDensity() cannot be used here, presumably because the preprocessor isn't correctly pulling the method out to place it inside settings() behind the scenes.

@processing-bot
Copy link
Collaborator Author

Created by: sampottinger

I can take this @benfry

@processing-bot
Copy link
Collaborator Author

Created by: sampottinger

@benfry, sorry I missed that. I have a resolution for this at #60.

@processing-bot
Copy link
Collaborator Author

Created by: benfry

Thanks for the quick fix.

@processing-bot
Copy link
Collaborator Author

Created by: github-actions[bot]

This issue 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 Sep 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant