mirror of
https://github.com/r2r90/canvas-label.git
synced 2025-12-18 21:19:48 +00:00
layer block function DONE!
Started legacy function
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user