Skip to content

Commit d781b04

Browse files
committed
align setSelection event for delete
1 parent 6f8a8ed commit d781b04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/modes/edit/delete.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class EditDelete extends BaseEdit {
3535
const principalFeature = this.getFeatureByMouseEvent({ event, sourceNames: [SOURCES.main] });
3636
if (principalFeature && this.allowedShapes.includes(principalFeature.shape)) {
3737
if (!this.gm.features.selection.has(principalFeature.id)) {
38-
this.gm.features.setSelection([principalFeature.id], true);
38+
this.gm.features.setSelection([principalFeature.id]);
3939
}
4040

4141
const linkedFeatures = this.gm.features.getLinkedFeatures(principalFeature);

0 commit comments

Comments
 (0)