A while back I created a module that extended Layer.coffee. I had the following code:
Layer::setWidth.call @, @width * @deviceRes
But that no longer works. I'm wondering what I can replace "setWidth" with?
Pastebin of module http://pastebin.com/T4MhKHG6
Did we change this for the Auto Code Animation release Niels van Hoorn?
Krijn Rijshouwer did you hear back about this?
Yes, we removed the setter and getter functions from the layer property definitions. I've poked around a bit in the library, but currently there doesn't seem to be an easy way to do this. Here's an example of using an onChange handler: https://framer.cloud/zaIwv/ but that isn't ideal. Koen Bok, what do you think, should we add the setters again?