abhsarma / milliways

MIT License
0 stars 0 forks source link

Certain sequences of operations results in errors / bugs #24

Closed abhsarma closed 2 years ago

abhsarma commented 2 years ago

If we perform operations in the following order, we get a weird plot:

pclem803 commented 2 years ago
Screen Shot 2022-04-18 at 4 24 52 PM
abhsarma commented 2 years ago

The following sequence of steps also result in this bug: join > sort > unjoin

this is because we expect our size and y variables do not reactively update when update is called (perhaps because update changes m.gridData and the variables size and y do not get updated inside the scope of update.

not sure how to fix this though