Minor changes

This commit is contained in:
2025-03-08 23:42:40 +01:00
parent 4eb959c539
commit 9c137d900f
+2 -2
View File
@@ -64,13 +64,13 @@ export const RoundImage: React.FC = () => {
shape.lineFormat.load(["weight"]);
await context.sync();
maskShape.top = shape.top + shape.lineFormat.weight;
maskShape.top = shape.top; // + shape.lineFormat.weight;
maskShape.width = shape.width;
maskShape.height = shape.height;
maskShape.fill.setSolidColor("red");
maskShape.lineFormat.visible = false;
setStatusMessage("Created mask shape. Please select both the image and the oval, then use the 'Merge Shapes > Intersect' command in PowerPoint.");
setStatusMessage("Created mask shape. Please select both the image and the oval, then use the 'Shape Forma > Merge Shapes > Intersect' command in PowerPoint.");
setStatusType("warning");
slide.setSelectedShapes([shape.id, maskShape.id]);