base mask
This commit is contained in:
@@ -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") && (
|
||||
|
||||
Reference in New Issue
Block a user