@netless/forge-slide 1.1.0-beta.2 → 1.1.0-beta.3
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/slide.esm.js +5 -0
- package/dist/slide.esm.js.map +2 -2
- package/dist/slide.js +5 -0
- package/dist/slide.js.map +2 -2
- package/package.json +3 -3
package/dist/slide.js
CHANGED
|
@@ -65188,6 +65188,8 @@ var Camera = class extends import_eventemitter36.default {
|
|
|
65188
65188
|
this.emit("userViewModeChange", userId, this.requestUserMap(userId).get(WhiteboardKeys.cameraMode), value.oldValue);
|
|
65189
65189
|
}
|
|
65190
65190
|
}
|
|
65191
|
+
} else if (value.action === "delete") {
|
|
65192
|
+
debugger;
|
|
65191
65193
|
}
|
|
65192
65194
|
}
|
|
65193
65195
|
});
|
|
@@ -67523,6 +67525,7 @@ var WhiteboardApplication = class _WhiteboardApplication extends import_forge_ro
|
|
|
67523
67525
|
_WhiteboardApplication.instanceCount.set(this.appId, (_WhiteboardApplication.instanceCount.get(this.appId) ?? 0) + 1);
|
|
67524
67526
|
(0, import_forge_room.log)(`whiteboard ${this.appId} initialize. instance count: ${_WhiteboardApplication.instanceCount.get(this.appId) ?? 0}`, {}, "info");
|
|
67525
67527
|
this.appDoc.transact(() => {
|
|
67528
|
+
console.warn("initialize whiteboard application");
|
|
67526
67529
|
this.permissions = new WhiteboardPermissions(this.writableManager, this.userManager, (userId) => {
|
|
67527
67530
|
return this.userMap(userId);
|
|
67528
67531
|
});
|
|
@@ -67721,6 +67724,8 @@ var WhiteboardApplication = class _WhiteboardApplication extends import_forge_ro
|
|
|
67721
67724
|
this.rootElement.appendChild(this.liveCursor.container);
|
|
67722
67725
|
this.getMap("attrs").observe(this.handleViewportUpdate);
|
|
67723
67726
|
this.writableManager().on("writableChanged", this.handleWritableChanged);
|
|
67727
|
+
console.warn("initialize whiteboard application end");
|
|
67728
|
+
console.log(this.appDoc.toJSON());
|
|
67724
67729
|
}, "whiteboard-initialize");
|
|
67725
67730
|
}
|
|
67726
67731
|
clearElements() {
|