Minor changes
This commit is contained in:
@@ -108,7 +108,11 @@ export const RoundImage: React.FC = () => {
|
|||||||
await context.sync();
|
await context.sync();
|
||||||
|
|
||||||
maskShape.left = shape.left;
|
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.width = shape.width;
|
||||||
maskShape.height = shape.height;
|
maskShape.height = shape.height;
|
||||||
maskShape.fill.setSolidColor("red");
|
maskShape.fill.setSolidColor("red");
|
||||||
|
|||||||
Reference in New Issue
Block a user