Palette history

This commit is contained in:
Dustin Swan 2026-02-22 21:06:43 -07:00
parent a874101a3d
commit 76e6868cac
No known key found for this signature in database
GPG key ID: 30D46587E2100467
2 changed files with 21 additions and 13 deletions

View file

@ -25,6 +25,10 @@ try {
const parser = new Parser(tokens, cgCode);
const defs = parser.parse();
loadDefinitions();
// TODO remove once we're booting from store, files are backup
if (!store.paletteHistory) store.paletteHistory = [];
compileAndRun(defs);
saveDefinitions();