Browse Source

fix improper duplication for texts inside frame

Ryan Di 2 năm trước cách đây
mục cha
commit
5a9f3dfdd8
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/actions/actionDuplicateSelection.tsx

+ 2 - 2
src/actions/actionDuplicateSelection.tsx

@@ -104,8 +104,8 @@ const duplicateElements = (
 
   const idsOfElementsToDuplicate = arrayToMap(
     getSelectedElements(sortedElements, appState, {
-      includeBoundTextElement: true,
-      includeElementsInFrames: true,
+      includeBoundTextElement: false,
+      includeElementsInFrames: false,
     }),
   );