p5.js-editor
p5.js-editor copied to clipboard
Editor window too large for 12-inch screens
The default editor window size extends below the screen of a 12" macbook air or 11" windows laptop. This makes it hard to get to the console pane when it's at the bottom. Perhaps the default size could be smaller?
repost from @tigoe https://github.com/processing/p5.js/issues/963
I found that by modifying lines 701 and 702 of the main.js in app.nw as follows, I got something that worked:
width: 924,
height: 668,
I think we just need to check the size of the screen and then shrink the window as needed...