TodePond/CellPond

The grid vanished!

VINDI777 opened this issue · 7 comments

I was making something in CellPond, and when I went into fullscreen with F11, the grid with the cells vanished! The errors it gave after it broke:
SyntaxError: redeclaration of let Presence [devHelper.js:1:1](moz-extension://cc3e2525-0725-4145-b8de-c70cc4d7dc08/js/devHelper.js) unreachable code after return statement [the-one-true-todey-file-of-cellpond.js:2275:2](https://cellpond.cool/the-one-true-todey-file-of-cellpond.js) unreachable code after return statement [the-one-true-todey-file-of-cellpond.js:8334:3](https://cellpond.cool/the-one-true-todey-file-of-cellpond.js) unreachable code after return statement [the-one-true-todey-file-of-cellpond.js:8352:3](https://cellpond.cool/the-one-true-todey-file-of-cellpond.js) unreachable code after return statement [the-one-true-todey-file-of-cellpond.js:2275:2](https://cellpond.cool/the-one-true-todey-file-of-cellpond.js) unreachable code after return statement [the-one-true-todey-file-of-cellpond.js:8334:3](https://cellpond.cool/the-one-true-todey-file-of-cellpond.js) unreachable code after return statement [the-one-true-todey-file-of-cellpond.js:8352:3](https://cellpond.cool/the-one-true-todey-file-of-cellpond.js) unreachable code after return statement [the-one-true-todey-file-of-cellpond.js:2275:2](https://cellpond.cool/the-one-true-todey-file-of-cellpond.js) unreachable code after return statement [the-one-true-todey-file-of-cellpond.js:8334:3](https://cellpond.cool/the-one-true-todey-file-of-cellpond.js) unreachable code after return statement [the-one-true-todey-file-of-cellpond.js:8352:3](https://cellpond.cool/the-one-true-todey-file-of-cellpond.js) ​
A screenshot of it:
Screenshot_20230702_122950

The browser I am using is Firefox.

(Also, although this might not fix the bug, maybe you could a saving feature so it could just be loaded in a new tab to avoid the bug.)

Can repro on my firefox too.

Does it reliably happen when you go into fullscreen?

no

Also I noticed another thing: The errors are completely unrelated because they happen even without the grid vanishing.
Screenshot:
Screenshot_20230702_144820

why did it close??!

AGAIN

anyways i think this bug happens if you use CTRL+Scroll to zoom the paddles out, make a lot of rules, and change the screen resolution (such as entering fullscreen)