@plait/core 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2020/plait-core.mjs
CHANGED
|
@@ -2280,14 +2280,14 @@ class PlaitBoardComponent {
|
|
|
2280
2280
|
BOARD_TO_ON_CHANGE.set(this.board, () => {
|
|
2281
2281
|
this.ngZone.run(() => {
|
|
2282
2282
|
this.detect();
|
|
2283
|
+
const changeEvent = {
|
|
2284
|
+
children: this.board.children,
|
|
2285
|
+
operations: this.board.operations,
|
|
2286
|
+
viewport: this.board.viewport,
|
|
2287
|
+
selection: this.board.selection
|
|
2288
|
+
};
|
|
2289
|
+
this.plaitChange.emit(changeEvent);
|
|
2283
2290
|
});
|
|
2284
|
-
const changeEvent = {
|
|
2285
|
-
children: this.board.children,
|
|
2286
|
-
operations: this.board.operations,
|
|
2287
|
-
viewport: this.board.viewport,
|
|
2288
|
-
selection: this.board.selection
|
|
2289
|
-
};
|
|
2290
|
-
this.plaitChange.emit(changeEvent);
|
|
2291
2291
|
});
|
|
2292
2292
|
this.hasInitialized = true;
|
|
2293
2293
|
}
|