You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like the new the "translation" animation feature, it's very nice. One detail, though - it doesn't allow for setting a translation with "step" = 0. This would be helpful if one wants to build several items with computed properties. For instance in this simple example of an expanding row of boxes, where the middle one should stay at the origin:
I like the new the "translation" animation feature, it's very nice. One detail, though - it doesn't allow for setting a translation with "step" = 0. This would be helpful if one wants to build several items with computed properties. For instance in this simple example of an expanding row of boxes, where the middle one should stay at the origin:
... you don't want to have to write special-case code to remove the translation with step=0.
Currently, threejs-template.js line 421 has:
This causes "s.options.translation.step = 0" to map to "step = .05". Using Number.isFinite() here instead would be an improvement:
This will map undefined, null, false, and invalid values to the default, but allow 0 as a possible value.
The text was updated successfully, but these errors were encountered: