Use single floating point value for x-positioning
I separated them because I wanted the default location for a stage to be halfway to the next one. Right now this works because the default value for substage is 0.5. I think this default behavior is easier for people just getting started with mapping. Do you have thoughts on this trade-off? Or thoughts on how to make it work given the stated goals?
Adam Bouhenguel: I see your point. I'm guessing that JS isn't sufficiently typed that an integer could default to halfway and a float could specify?
An alternative would be to have an alternative property (
x?) that allowed the single f.p. value, and would override
substage? Or make
substagethe single floating point value that overrides
stagerather than refines it.
Or a global var
quick-stagesthat would automatically reassign a value of whole numbers to the mid-point?
I don't think I want to invent a thing that looks like a number but is not one, especially since at some point people will be writing formulas that compute component location.
It is possible that we could make substage something like
default stage + 0.5and then pick a name better than substage. Interesting idea!