rotation added

This commit is contained in:
2025-04-04 15:17:38 +05:30
parent 713738520b
commit 60b778ff3d
6 changed files with 239 additions and 91 deletions

View File

@@ -17,7 +17,15 @@ const EditWidgetOption: React.FC<EditWidgetOptionProps> = ({ options }) => {
}, [top, left])
return (
<div className="editWidgetOptions-wrapper" style={{ top: top + "px", left: left + "px" }}>
<div className="editWidgetOptions-wrapper"
style={{
position: "absolute",
top: `${top}px`,
left: `${left}px`,
zIndex: 10000,
}}
>
<div className="editWidgetOptions">
{options.map((option, index) => (
<div className="option" key={index} onClick={(e) => setRightSelect(option)}>