Improved update_positions.py

I maded some updates to update_positions.py: that @jnorberg shared. And I thought they were worth sharing out.

  1. I made it replace spaces with undescores
  2. It now creates Vec and Rects directly to cut down on the code needed.
  3. Also put it in the POS namespace and then us using namespace POS inside the widget constructors.

update_positions.py.txt (6.1 KB)

1 Like