Skip to content

Commit

Permalink
fix missing issue with canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak committed Sep 18, 2024
1 parent ab4261e commit 1438a6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/canvas/src/objects/canvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ export class Canvas implements CRO {
switch (op.type) {
case "splash": {
const [nodeId, offset, size, rgb] = op.value;
this._splash(nodeId, offset, size, rgb);
this._splash(offset, size, rgb);
break;
}
case "paint": {
const [nodeId, offset, rgb] = op.value;
this._paint(nodeId, offset, rgb);
this._paint(offset, rgb);
break;
}
}
Expand Down

0 comments on commit 1438a6a

Please sign in to comment.