stickyflow 0.11.2 → 0.11.3

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.
@@ -1039,7 +1039,8 @@ function shapeObject(e, shaders) {
1039
1039
  id: e.id,
1040
1040
  type: "shape",
1041
1041
  text: e.text ?? null,
1042
- shapeType: shapeTypeOf(e.shapeType),
1042
+ // A picture with a corner radius and no form of its own is a rounded one, or the radius would do nothing.
1043
+ shapeType: shapeTypeOf(e.shapeType ?? (isImage && p.cornerRadius ? "rounded_rectangle" : void 0)),
1043
1044
  symbol: e.symbol,
1044
1045
  x: e.x,
1045
1046
  y: e.y,
@@ -10765,5 +10766,5 @@ exports.render = render;
10765
10766
  exports.renderCanvas = renderCanvas;
10766
10767
  exports.sflToRenderInput = sflToRenderInput;
10767
10768
  exports.sliderReach = sliderReach;
10768
- //# sourceMappingURL=chunk-EHH6ZDK6.cjs.map
10769
- //# sourceMappingURL=chunk-EHH6ZDK6.cjs.map
10769
+ //# sourceMappingURL=chunk-K5PGMZAD.cjs.map
10770
+ //# sourceMappingURL=chunk-K5PGMZAD.cjs.map