calband / calchart-redesign

Calchart 4 for the web! 🌐
https://calband.github.io/calchart-redesign/
4 stars 0 forks source link

Make sure that `NEXT_DOT_ID` and `NEXT_SS_ID` come from a central place, not per local storage #141

Open rmpowell77 opened 3 years ago

rmpowell77 commented 3 years ago

The NEXT_DOT_ID is a global, and that can have subtle problems. If undo/redo system is assuming that it starts off at 0 all the time, then there could be some weird bugs that get introduced when a new show gets created after editing a different show.