diff --git a/src/taskpane/components/RoundImage.tsx b/src/taskpane/components/RoundImage.tsx index 04160f59..8d3bbc4a 100644 --- a/src/taskpane/components/RoundImage.tsx +++ b/src/taskpane/components/RoundImage.tsx @@ -108,7 +108,11 @@ export const RoundImage: React.FC = () => { await context.sync(); maskShape.left = shape.left; - maskShape.top = shape.top + 1; // TODO: Why + 1 + + shape.lineFormat.load(["weight"]); + await context.sync(); + + maskShape.top = shape.top + shape.lineFormat.weight; maskShape.width = shape.width; maskShape.height = shape.height; maskShape.fill.setSolidColor("red");