Skip to content

Commit

Permalink
followup fix
Browse files Browse the repository at this point in the history
  • Loading branch information
slimbuck committed Aug 11, 2023
1 parent db03746 commit ba92e3d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@playcanvas/pcui",
"version": "4.1.0",
"version": "4.1.1",
"author": "PlayCanvas <support@playcanvas.com>",
"homepage": "https://playcanvas.github.io/pcui",
"description": "User interface component library for the web",
Expand Down
2 changes: 1 addition & 1 deletion src/components/ArrayInput/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ class ArrayInput extends Element implements IFocusable, IBindable {
if (array && array.length > index) {
if (this._valueType === 'curveset') {
// curveset is passing the value in an array
array[index] = value ? value[0] : value;
array[index] = Array.isArray(value) ? value[0] : value;
} else {
array[index] = value;
}
Expand Down

0 comments on commit ba92e3d

Please sign in to comment.