Sets all cells dirty on reactivation

This commit is contained in:
rfeistenauer 2020-11-04 22:21:31 +01:00
parent acbda2bcf2
commit 76d8beb378
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.6
- Fixes reactivation not redrawing all cells
#### 1.0.5
- Fixes black lines in the display between some cell lines/columns

View File

@ -95,6 +95,7 @@ class CellularAutomaton(CellularAutomatonCreator, abc.ABC):
""" Sets all cells active again """
for cell in self._current_state.values():
cell.is_active = True
cell.is_dirty = True
active = property(is_active)

View File

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