1j01 / jspaint

🎨 Classic MS Paint, REVIVED + ✨Extras
https://jspaint.app/about
MIT License
7.25k stars 567 forks source link

Pasted screenshots show up twice as big (HiDPI Retina screenshot) #333

Open gth001 opened 8 months ago

gth001 commented 8 months ago

https://github.com/1j01/jspaint/assets/10224533/4aa8a60c-e9cf-4234-a39d-5f3de2627326

In order to use jspaint, I must set the zoom to 50% every time, as shown in the video. Is there any way to keep a permanant 50% zoom every time I load the page, or perhaps default to 50% zoom on HiDPI displays?

1j01 commented 8 months ago

There is a feature request for a persistent zoom setting. That said, I think maybe the app is supposed to scale the canvas for HiDPI displays, I don't remember... OK, looking at the code, it was left as a question mark in a comment:

https://github.com/1j01/jspaint/blob/c5cf78424ce58c0e7bb81c7de882641ec9dc30ae/src/functions.js#L209

Thinking about this some more...

gth001 commented 3 weeks ago

There is a feature request for a persistent zoom setting.

Nice, that will totally solve all my issues. View>Zoom>Custom>Input box>50%>Enter is so many clicks to have to do every single load. I'd love if I could bookmark any URL where the zoom is already 50%. Then I can keep going back to it easily.