Bycelium / PyFlow

An open-source tool for visual and modular block programming in python
GNU General Public License v3.0
1.27k stars 52 forks source link

🎉 🎨 Add persistent colors #276

Closed MathisFederico closed 2 years ago

MathisFederico commented 2 years ago

Add persistent colors to ease the user comprehension and let him remember what was run. Fixes #272 Refactored 'run_state' and 'has_been_run' using Enum for better maintenance.

FabienRoger commented 2 years ago

The outline was barely visible! Also, the edges don't light up anymore. Is that on purpose? But with this feature it is much much easier to see what is going on (and much easier to see that "run right" is broken, and runs cells multiple times...).

MathisFederico commented 2 years ago

The outline was barely visible!

Maybe on larger screens indeed !

Also, the edges don't light up anymore. Is that on purpose?

Yes !

But with this feature it is much much easier to see what is going on (and much easier to see that "run right" is broken, and runs cells multiple times...).

Indeed ! Well spotted !

FabienRoger commented 2 years ago

Indeed ! Well spotted !

This was a bug introduced by this PR, so I fixed it here.