hide border

This commit is contained in:
hamid zarghami
2026-01-04 15:15:25 +03:30
parent cb42dd6968
commit 19258395a0
@@ -1,4 +1,5 @@
import { Switch } from "@/components/ui/switch";
import { clx } from "@/helpers/utils";
import { useEditorStore } from "@/pages/editor/store/editorStore";
type MaskSettingsProps = {
@@ -53,7 +54,10 @@ const MaskSettings = ({ objectId }: MaskSettingsProps) => {
};
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) */}
{canBeMask && (
<div>