ChristopherChudzicki / math3d

Legacy version: Use math3d-react repo instead
MIT License
12 stars 4 forks source link

Calculated Visibility Not Properly Loaded #108

Open stardust66 opened 7 years ago

stardust66 commented 7 years ago

If a toggle switch is used to control the visibility of a graph item via calculatedVisibility, and the state of the switch is OFF when saving, the graph item won't ever appear when the graph is loaded again, but the graph item's visibility indicator does change with the toggle switch.

Edit: I checked out an old commit with the old style saving, and this problem existed then too, so there're issues with the loading process. A temporary solution is to keep all the toggles on the ON position when saving.