Skip to content

Commit

Permalink
support accessing unidimensional value by index
Browse files Browse the repository at this point in the history
  • Loading branch information
bodymovin committed Jun 18, 2023
1 parent 7f7c4fd commit d51b8b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions player/js/utils/expressions/ExpressionValueFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const ExpressionPropertyInterface = (function () {
if (expressionValue.value !== val) {
expressionValue = new Number(val); // eslint-disable-line no-new-wrappers
expressionValue.value = val;
expressionValue[0] = val;
completeProperty(expressionValue, property, 'unidimensional');
}
return expressionValue;
Expand Down

0 comments on commit d51b8b0

Please sign in to comment.