base mask

This commit is contained in:
hamid zarghami
2026-01-04 10:18:49 +03:30
parent b33b7a953d
commit aa6153d289
16 changed files with 435 additions and 52 deletions
@@ -8,6 +8,7 @@ import {
VideoSettings,
TransformSettings,
GridSettings,
MaskSettings,
} from "./settings";
import TextInstruction from "./instructions/TextInstruction";
@@ -33,7 +34,10 @@ const ObjectSettings = ({ selectedObject, onUpdate, onDelete }: ObjectSettingsPr
{selectedObject.type === "text" && <TextInstruction />}
{selectedObject.type === "rectangle" && (
<ShapeSettings selectedObject={selectedObject} onUpdate={onUpdate} />
<>
<MaskSettings objectId={selectedObject.id} />
<ShapeSettings selectedObject={selectedObject} onUpdate={onUpdate} />
</>
)}
{(selectedObject.type === "line" || selectedObject.type === "arrow") && (