goatdee-canvas 0.0.36 → 0.0.37

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.
package/dist/index.cjs CHANGED
@@ -4249,7 +4249,7 @@ const add = async (type, properties) => {
4249
4249
  if (type === "image" && props.src) {
4250
4250
  await manager.registerImageIfNeeded(props.src);
4251
4251
  }
4252
- if ((type === "frame" || type === "slide") && props.objects) {
4252
+ if ((type === "frame" || type === "slide" || type === "group") && props.objects) {
4253
4253
  await preRegisterImages(props.objects);
4254
4254
  }
4255
4255
  return canvas.add(type, props);