From 5a9f3dfdd8c93eebc5f70c77d7eddceca60df471 Mon Sep 17 00:00:00 2001 From: Ryan Di Date: Fri, 23 Jun 2023 21:33:32 +0800 Subject: [PATCH] fix improper duplication for texts inside frame --- src/actions/actionDuplicateSelection.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/actions/actionDuplicateSelection.tsx b/src/actions/actionDuplicateSelection.tsx index ae2d6f7bc..ed522c86e 100644 --- a/src/actions/actionDuplicateSelection.tsx +++ b/src/actions/actionDuplicateSelection.tsx @@ -104,8 +104,8 @@ const duplicateElements = ( const idsOfElementsToDuplicate = arrayToMap( getSelectedElements(sortedElements, appState, { - includeBoundTextElement: true, - includeElementsInFrames: true, + includeBoundTextElement: false, + includeElementsInFrames: false, }), );