Browse Source

fix: bound text doesn't inherit container (#4521)

David Luzar 3 năm trước cách đây
mục cha
commit
28546fbb55
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/components/App.tsx

+ 1 - 0
src/components/App.tsx

@@ -2168,6 +2168,7 @@ class App extends React.Component<AppProps, AppState> {
             ? "middle"
             : DEFAULT_VERTICAL_ALIGN,
           containerId: container?.id ?? undefined,
+          groupIds: container?.groupIds ?? [],
         });
 
     this.setState({ editingElement: element });