hide border
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import { Switch } from "@/components/ui/switch";
|
import { Switch } from "@/components/ui/switch";
|
||||||
|
import { clx } from "@/helpers/utils";
|
||||||
import { useEditorStore } from "@/pages/editor/store/editorStore";
|
import { useEditorStore } from "@/pages/editor/store/editorStore";
|
||||||
|
|
||||||
type MaskSettingsProps = {
|
type MaskSettingsProps = {
|
||||||
@@ -53,7 +54,10 @@ const MaskSettings = ({ objectId }: MaskSettingsProps) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="p-4 border-b space-y-4">
|
<div className={clx(
|
||||||
|
"p-4 border-b space-y-4",
|
||||||
|
!canBeMask && "hidden"
|
||||||
|
)}>
|
||||||
{/* Section 1: Convert shape to mask (only for shapes) */}
|
{/* Section 1: Convert shape to mask (only for shapes) */}
|
||||||
{canBeMask && (
|
{canBeMask && (
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user