mortbopet / VSRTL

Visual Simulation of Register Transfer Logic
MIT License
88 stars 18 forks source link

Make Component signal emission dependant on component state change #7

Open mortbopet opened 5 years ago

mortbopet commented 5 years ago

Currently, Component::propagateComponents always executes changed.emit() upon each propagation cycle. This signal is used to identify the GUI whether to update the drawing of the component. This signal should only be changed when any output ports of the component is modified.

Todo: Investigate whether more logic is required for correctly updating the component graphics when the component is expanded/collapsed.