p5.js-editor icon indicating copy to clipboard operation
p5.js-editor copied to clipboard

Editor window too large for 12-inch screens

Open lmccart opened this issue 10 years ago • 2 comments

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

lmccart avatar Oct 03 '15 12:10 lmccart

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,

tigoe avatar Oct 04 '15 16:10 tigoe

I think we just need to check the size of the screen and then shrink the window as needed...

antiboredom avatar Oct 04 '15 18:10 antiboredom