Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 61852ea

Browse files
committed
delete should select design host, not design canvas.
1 parent 31ac829 commit 61852ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elements/design-canvas/design-canvas.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
var parent = e.parentNode;
102102
parent.removeChild(e);
103103
forSubtree(e, this.removeElementRule.bind(this));
104-
this.selected = parent;
104+
this.selected = parent === this ? this.designHost : parent;
105105
}
106106
},
107107

0 commit comments

Comments
 (0)