Minor changes

This commit is contained in:
2025-03-08 18:34:10 +01:00
parent f30be26bd6
commit bbfca3a67f
+5 -1
View File
@@ -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");