layer block function DONE!

Started legacy function
This commit is contained in:
Artur AGH
2023-12-10 14:49:55 +01:00
parent adb1984a59
commit af650e104c
5 changed files with 69 additions and 10 deletions

View File

@@ -109,6 +109,7 @@ const Canvas = () => {
}}
imageProps={item.params}
key={item.id}
isBlocked={item.isBlocked}
/>
);
}
@@ -116,6 +117,7 @@ const Canvas = () => {
return (
<TransformableText
isEditing={isEditing}
isBlocked={item.isBlocked}
onEditChange={toggleEdit}
onSelect={() => selectItem(item.id)}
isSelected={item.id === selectedItemId}