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

Separate Console and Editor font sizes!

Open shiffman opened this issue 3 years ago • 2 comments

Hi hi! Following up on discussion in #468

Nature of issue?

  • New feature request! Related to font size settings!

New feature details:

I often use a really big font in the code editor while teaching but would like to have a smaller console font so that I can see the errors in such a small space. I'm not sure if this is something others would be interested in but being able to set both font sizes independently would be great for me!

Here's an image for reference!

screen shot of web editor with large font sizes showing hard to read console

shiffman avatar Nov 03 '21 02:11 shiffman

I’d be happy to take a look at this!

anderoonies avatar Nov 28 '21 00:11 anderoonies

Opinions on the shape of font size?

{
  fontSize: {
    editor: number,
    console: number
  }
}

or

{
  editorFontSize: number,
  consoleFontSize: number
}

?

The former should be simpler to set up actions and reducer but might be more surface area for consuming state

anderoonies avatar Nov 28 '21 03:11 anderoonies