I built an Entity editor using callbacks for the various properties being dynamically manipulated via mouse movements.
I have one shape the draws a curved wall, so when they adjust the start/end angle, the number of positions for the wall entity changes.
The wall properties positions, maximumHeights, miniumHeights all need to have the same number of entries in the array.
I have callbacks associated with each one of these properties.
Things work well when using minified, however, unminified I gives the following error, .
DeveloperError: options.positions and options.maximumHeights must have the same length
I would think it’s impossible to get three arrays to stay insync via callbacks. They are not in sync until all three callbacks have been called.
I am struggling to think of a way to overcome this problem.