TodePond / CellPond

surreal cellular automata
https://cellpond.cool
MIT License
280 stars 35 forks source link

The grid vanished! #311

Open VINDI777 opened 1 year ago

VINDI777 commented 1 year ago

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.)

Pandapip1 commented 1 year ago

Can repro on my firefox too.

TodePond commented 1 year ago

Does it reliably happen when you go into fullscreen?

VINDI777 commented 1 year ago

no

VINDI777 commented 1 year ago

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

VINDI777 commented 1 year ago

why did it close??!

VINDI777 commented 1 year ago

AGAIN

VINDI777 commented 10 months ago

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)