3d editoption api added and rotation functionality added
This commit is contained in:
@@ -8,22 +8,19 @@ import {
|
||||
} from "../../../store/useZone3DWidgetStore";
|
||||
|
||||
interface EditWidgetOptionProps {
|
||||
setWidgetSelect: any;
|
||||
options: string[];
|
||||
}
|
||||
|
||||
const EditWidgetOption: React.FC<EditWidgetOptionProps> = ({
|
||||
setWidgetSelect,
|
||||
options,
|
||||
}) => {
|
||||
const { top, setTop } = useTopData();
|
||||
const { left, setLeft } = useLeftData();
|
||||
const { rightSelect, setRightSelect } = useRightSelected();
|
||||
const { top } = useTopData();
|
||||
const { left } = useLeftData();
|
||||
const { setRightSelect } = useRightSelected();
|
||||
const { setEditWidgetOptions } = useEditWidgetOptionsStore();
|
||||
|
||||
useEffect(() => {
|
||||
console.log("left: ", left);
|
||||
console.log("top: ", top);
|
||||
|
||||
}, [top, left]);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user