add clippings bounds tolerance, improve group related checks
This commit is contained in:
@@ -6868,10 +6868,13 @@ class App extends React.Component<AppProps, AppState> {
|
||||
topLayerFrame &&
|
||||
!this.state.selectedElementIds[topLayerFrame.id]
|
||||
) {
|
||||
const processedGroupIds = new Map<string, boolean>();
|
||||
const elementsToAdd = selectedElements.filter(
|
||||
(element) =>
|
||||
element.frameId !== topLayerFrame.id &&
|
||||
isElementInFrame(element, nextElements, this.state),
|
||||
isElementInFrame(element, nextElements, this.state, {
|
||||
processedGroupIds,
|
||||
}),
|
||||
);
|
||||
|
||||
if (this.state.editingGroupId) {
|
||||
|
||||
Reference in New Issue
Block a user