-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Full-frame sketches have scroll bars by default #4046
Copy link
Copy link
Open
Labels
BugError or unexpected behaviorsError or unexpected behaviors
Description
p5.js version
1.11.1
What is your operating system?
Mac OS
Web browser and version
Firefox 148
Actual Behavior
createCanvas(windowWidth, windowHeight) has some subtle scrolling:
Expected Behavior
Ideally there should be no scroll bars. I think this may be a recent regression, since it used to not be this way?
Steps to reproduce
Steps:
Make sure you can actually see scroll bars. On macs they only show up while actively scrolling while on a device with a trackpad. For me anyway, they show up all the time when I have a mouse. But you can turn them on all the time for testing: https://unsung.aresluna.org/testing-tip-always-show-scrollbars/
Snippet:
function setup() {
createCanvas(windowWidth, windowHeight);
}
function draw() {
background(220);
}Live: https://editor.p5js.org/davepagurek/sketches/Rfq0Q21AD
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugError or unexpected behaviorsError or unexpected behaviors