mask
This commit is contained in:
@@ -20,6 +20,8 @@ const TriangleShape = ({ obj, isSelected, transformerRef, onSelect, onUpdate, dr
|
||||
return (
|
||||
<RegularPolygon
|
||||
ref={shapeRef}
|
||||
id={obj.id}
|
||||
name={isMask ? "mask-shape" : "canvas-object"}
|
||||
x={obj.x + (obj.width || 100) / 2}
|
||||
y={obj.y + (obj.height || 100) / 2}
|
||||
sides={3}
|
||||
|
||||
Reference in New Issue
Block a user