@netless/forge-slide 0.1.1-alpha.0 → 0.1.1-alpha.1

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.js CHANGED
@@ -67077,9 +67077,6 @@ var SlideApplication = class extends import_forge_room4.AbstractApplication {
67077
67077
  }
67078
67078
  });
67079
67079
  this.rootView.appendChild(this.contentContainer);
67080
- this.permissions.on("change", (userId, flags, value) => {
67081
- this.emitter.emit("permissionChange", userId, flags, value);
67082
- });
67083
67080
  this.emitter.on("renderStart", (pageIndex) => {
67084
67081
  this.footer.prevPageState(pageIndex !== 0);
67085
67082
  });
@@ -67345,6 +67342,7 @@ var SlideApplication = class extends import_forge_room4.AbstractApplication {
67345
67342
  return this.userMap(userId);
67346
67343
  });
67347
67344
  this.permissions.on("change", (userId, flags, value) => {
67345
+ this.emitter.emit("permissionChange", userId, flags, value);
67348
67346
  if (this.userId === userId) {
67349
67347
  if (flags.includes(4 /* clickAnim */)) {
67350
67348
  this.slideContainer.style.pointerEvents = "auto";