ISSUE 2: fix copy selection
This commit is contained in:
@@ -513,6 +513,12 @@ export const DockBuilder = () => {
|
||||
|
||||
const CopySelection = () => {
|
||||
// TODO: Copy selection
|
||||
const activeObject = editorMemo.getActiveObject();
|
||||
if (activeObject) {
|
||||
activeObject.clone(function (cloned) {
|
||||
clipboard = cloned;
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
const PasteSelection = () => {
|
||||
|
||||
Reference in New Issue
Block a user