1 parent 6f8a8ed commit d781b04Copy full SHA for d781b04
1 file changed
src/modes/edit/delete.ts
@@ -35,7 +35,7 @@ export class EditDelete extends BaseEdit {
35
const principalFeature = this.getFeatureByMouseEvent({ event, sourceNames: [SOURCES.main] });
36
if (principalFeature && this.allowedShapes.includes(principalFeature.shape)) {
37
if (!this.gm.features.selection.has(principalFeature.id)) {
38
- this.gm.features.setSelection([principalFeature.id], true);
+ this.gm.features.setSelection([principalFeature.id]);
39
}
40
41
const linkedFeatures = this.gm.features.getLinkedFeatures(principalFeature);
0 commit comments