You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scales to window scaling (default 125%).
When I run displayDensity() it returns 1
If I run pixelDensity(1) or pixelDensity(displayDensity()) I get the error: Display -1 does not exist, returning 1 for displayDensity(-1)
Expected Behavior
Sketch to scale with Windows scale
Current Behavior
Sketch scales to 125% to what it should be
Steps to Reproduce
Set Windows scale to anything not 100%
Use processing 4
Your Environment
Processing version: 4.0b8 (also tried 4.0b6 with same behavior)
Operating System and OS version: Windows 11
Other information: Brand new workstation with clean install of windows/processing
EDIT: I'm using javafx not sure if that makes a difference
Possible Causes / Solutions
This only happens in processing4; when I run on processing3 there is no issue.
The text was updated successfully, but these errors were encountered:
Just ran into something similar while trying this with fullScreen() on macOS, but with any luck, it should fix the issue for Windows as well. The fix will be in 4.0.2 when released.
This issue has been automatically locked. To avoid confusion with reports that have already been resolved, closed issues are automatically locked 30 days after the last comment. Please open a new issue for related bugs.
Created by: dgray001
seems very similar to processing/processing#5414
Description
Scales to window scaling (default 125%).
When I run
displayDensity()
it returns 1If I run
pixelDensity(1)
orpixelDensity(displayDensity())
I get the error:Display -1 does not exist, returning 1 for displayDensity(-1)
Expected Behavior
Sketch to scale with Windows scale
Current Behavior
Sketch scales to 125% to what it should be
Steps to Reproduce
Your Environment
Possible Causes / Solutions
This only happens in processing4; when I run on processing3 there is no issue.
The text was updated successfully, but these errors were encountered: