canvas-editor-engine 2.1.26 → 2.1.28
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/dist/index.mjs +4 -0
- package/dist/store/store.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -194,6 +194,7 @@ var CanvasComponent = function(_super) {
|
|
194
194
|
CanvasComponent.prototype.getComponent = function() {
|
195
195
|
var canvasTemplate = this.getTemplate(this.template);
|
196
196
|
var canvasStyle = this.getStyle(this.css);
|
197
|
+
canvasTemplate.style.display = "flex";
|
197
198
|
this.canvas = canvasTemplate.getElementsByTagName("canvas")[0];
|
198
199
|
this.canvas.width = this.appConfig.CANVAS_SIZE.width;
|
199
200
|
this.canvas.height = this.appConfig.CANVAS_SIZE.height;
|
@@ -1419,6 +1420,9 @@ var AppStore = function() {
|
|
1419
1420
|
this.appStoreRepository.store.historyState.emerge(completeIt);
|
1420
1421
|
}
|
1421
1422
|
};
|
1423
|
+
AppStore.prototype.getHistoryLines = function() {
|
1424
|
+
return this.appStoreRepository.store.historyState.historyLines;
|
1425
|
+
};
|
1422
1426
|
return AppStore;
|
1423
1427
|
}();
|
1424
1428
|
|
package/dist/store/store.d.ts
CHANGED
@@ -14,4 +14,5 @@ export default class AppStore {
|
|
14
14
|
private appStoreRepository;
|
15
15
|
constructor(throughHistoryService: ThroughHistoryService, appStoreRepository: AppStoreRepository);
|
16
16
|
subscribe(to: 'history', completeIt: (...args: any) => void): void;
|
17
|
+
getHistoryLines(): import("../types/history").IHistoryLine[];
|
17
18
|
}
|