Sets all cells dirty on reactivation
This commit is contained in:
parent
acbda2bcf2
commit
76d8beb378
@ -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!
|
And for all others, don't hesitate to open issues when you have problems!
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
#### 1.0.6
|
||||||
|
- Fixes reactivation not redrawing all cells
|
||||||
|
|
||||||
#### 1.0.5
|
#### 1.0.5
|
||||||
- Fixes black lines in the display between some cell lines/columns
|
- Fixes black lines in the display between some cell lines/columns
|
||||||
|
|
||||||
|
@ -95,6 +95,7 @@ class CellularAutomaton(CellularAutomatonCreator, abc.ABC):
|
|||||||
""" Sets all cells active again """
|
""" Sets all cells active again """
|
||||||
for cell in self._current_state.values():
|
for cell in self._current_state.values():
|
||||||
cell.is_active = True
|
cell.is_active = True
|
||||||
|
cell.is_dirty = True
|
||||||
|
|
||||||
active = property(is_active)
|
active = property(is_active)
|
||||||
|
|
||||||
|
2
setup.py
2
setup.py
@ -7,7 +7,7 @@ with open('README.md') as f:
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="cellular_automaton",
|
name="cellular_automaton",
|
||||||
version="1.0.5",
|
version="1.0.6",
|
||||||
author="Richard Feistenauer",
|
author="Richard Feistenauer",
|
||||||
author_email="r.feistenauer@web.de",
|
author_email="r.feistenauer@web.de",
|
||||||
packages=find_packages(exclude=('tests', 'docs', 'examples')),
|
packages=find_packages(exclude=('tests', 'docs', 'examples')),
|
||||||
|
Loading…
Reference in New Issue
Block a user