Fixes ca not active after reactivation

This commit is contained in:
rfeistenauer 2020-11-05 14:55:38 +01:00
parent 76d8beb378
commit 9e211aa581
3 changed files with 5 additions and 1 deletions

View File

@ -98,6 +98,9 @@ There ist still quite some work to do.
And for all others, don't hesitate to open issues when you have problems!
## Changelog
#### 1.0.7
- Fixes automaton ont active on reactivation
#### 1.0.6
- Fixes reactivation not redrawing all cells

View File

@ -96,6 +96,7 @@ class CellularAutomaton(CellularAutomatonCreator, abc.ABC):
for cell in self._current_state.values():
cell.is_active = True
cell.is_dirty = True
self._active = True
active = property(is_active)

View File

@ -7,7 +7,7 @@ with open('README.md') as f:
setup(
name="cellular_automaton",
version="1.0.6",
version="1.0.7",
author="Richard Feistenauer",
author_email="r.feistenauer@web.de",
packages=find_packages(exclude=('tests', 'docs', 'examples')),