Skip to content

Commit

Permalink
fix(geom): update Rect.toHiccup() format (separate widht/height vals)
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jan 22, 2019
1 parent 1d92c8c commit 8c1df49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/geom/src/api.ts
Expand Up @@ -656,7 +656,7 @@ export class Rect implements
}

toHiccup() {
return ["rect", this.attribs, this.pos, this.size];
return ["rect", this.attribs, this.pos, this.size[0], this.size[1]];
}
}

Expand Down

0 comments on commit 8c1df49

Please sign in to comment.