@eyepop.ai/eyepop-render-2d 0.18.4 → 0.18.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -163,7 +163,7 @@ var RenderBox = class _RenderBox {
163
163
  yPos += padding + tw.actualBoundingBoxAscent + tw.actualBoundingBoxDescent;
164
164
  if (element.labels) {
165
165
  for (let i = 0; i < element.labels.length; i++) {
166
- context.fillText(` - ${element.labels[i]}`, xPos, yPos);
166
+ context.fillText(` - ${element.labels[i].label}`, xPos, yPos);
167
167
  yPos += padding + tw.actualBoundingBoxAscent + tw.actualBoundingBoxDescent;
168
168
  }
169
169
  }