cdglabs / apparatus

A hybrid graphics editor and programming environment for creating interactive diagrams.

Home Page:http://aprt.us/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Combining references in variable causes "soft crash"

johshoff opened this issue · comments

I'm trying to create a variable i that depends on a rectangle's X and Y. Dragging the X to i works. Multiplying by a constant works: X*0.1. But dragging the Y in the hopes of creating X*Y crashes it with an id-string instead of the properly styled Y.

JSON: https://gist.github.com/johshoff/9ca6babef61101e02478

Before:

screen shot 2015-10-05 at 19 13 09

After:

screen shot 2015-10-05 at 19 15 56

This is fixed (and your example works) in the latest on the master branch. I will release a new version (0.4.1) in a week or so and push all these changes to the website.

Thanks! :)