Closed JoseGeorges8 closed 4 years ago
The prefill
property of a Cell
was not kept when performing Grid.deepClone()
.
This has been fixed by adding:
_target.matrix()[r][c].setPrefill(source.matrix()[r][c].prefill());
To:
Grid.deepClone(Grid source)
I've also added a test to generation_test
specifically for prefill validity.
Let me know if this resolves your issue @JoseGeorges8 .
If you can confirm this resolution, then I'll close this issue, proceed with merging the fix into dev
, and ask you to adjust PR #4.
Just checked it out and can confirm that fixes the issue 👍
Thanks @JoseGeorges8 , closing and completing merge.
Quickest steps to reproduce:
prefill()
getter. This will return null