KanoComputing / make-art

App to learn programming using a basic CoffeeScript drawing API
GNU General Public License v2.0
47 stars 37 forks source link

fix: cursor position #463

Closed paulvarache closed 4 years ago

paulvarache commented 4 years ago

With es6 modules, the position object was copied instead of keeping a reference. When moving with moveTo, the object is replaced. This uses a function. The value is read when the position is updated