diff --git a/app/src/components/ui/componets/Dropped3dWidget.tsx b/app/src/components/ui/componets/Dropped3dWidget.tsx index 02d954d..51ad60e 100644 --- a/app/src/components/ui/componets/Dropped3dWidget.tsx +++ b/app/src/components/ui/componets/Dropped3dWidget.tsx @@ -206,11 +206,11 @@ export default function Dropped3dWidgets() { [selectedZone.zoneId]: cleanedWidgets, }, })); - if (!isInside) { + // if (!isInside) { - createdWidgetRef.current = null; - return; // Stop here - } + // createdWidgetRef.current = null; + // return; // Stop here + // } // ✅ Add widget if inside polygon addWidget(selectedZone.zoneId, newWidget); @@ -404,9 +404,9 @@ export default function Dropped3dWidgets() { [newPosition[0], newPosition[2]], zonePolygonXZ ); - if (isInside) { + // if (isInside) { updateWidgetPosition(selectedZoneId, rightClickSelected, newPosition); - } + // } } if (rightSelect === "Vertical Move") {