Minor changes
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user