Skip to content

Commit

Permalink
[GLJS-1145] Replace spread object syntax in worker for vector images …
Browse files Browse the repository at this point in the history
…(internal-2092)
  • Loading branch information
underoot committed Jan 2, 2025
1 parent 4060201 commit bb28314
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/source/worker_tile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,10 +434,7 @@ class WorkerTile {
for (const imageIdWithOptionsSerialized in result) {
const {id} = ImageIdWithOptions.deserializeFromString(imageIdWithOptionsSerialized);
const image = result[imageIdWithOptionsSerialized];
imageMap[imageIdWithOptionsSerialized] = {
...images[id],
data: image
};
imageMap[imageIdWithOptionsSerialized] = Object.assign({}, images[id], {data: image});
}
}

Expand Down

0 comments on commit bb28314

Please sign in to comment.