Closed wuweiweiwu closed 6 years ago
This is intentional, but I'm open to changing it. Presumably a blank PNG compresses well, so the actual storage usage wouldn't be an issue. But saving a new session immediately can add clutter to the UI when you're managing storage. Why do you think it should save an empty canvas?
I was thinking that if the user opened manage storage and didn't see anything in "manage storage" They would think that you need to save / save as / or someway to save it in storage. It seems more intuitive to see that your current canvas is in storage.
Okay, that's valid.
Ill submit a PR in a bit :)
It is only saved when you start drawing.
Is this intentional? I was thinking that when you open a new canvas, it should automatically have that canvas in localStorage