We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bec0d79 commit bbf9d10Copy full SHA for bbf9d10
src/ui-canvas/index.common.ts
@@ -134,18 +134,18 @@ export abstract class CanvasBase extends GridLayout {
134
}
135
// we ignore any other kind of view.
136
137
- public _removeView(view: any) {
+ public removeChild(view: any) {
138
if (view instanceof Shape) {
139
this.removeShape(view);
140
} else {
141
- super._removeView(view);
+ super.removeChild(view);
142
143
144
- public _addView(view: any) {
+ public addChild(view: any) {
145
146
this.addShape(view);
147
148
- super._addView(view);
+ super.addChild(view);
149
150
151
0 commit comments