@netless/forge-slide 0.1.1-alpha.4 → 0.1.1-alpha.5
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/SlideApplication.d.ts.map +1 -1
- package/dist/classes.d.ts +3 -0
- package/dist/classes.d.ts.map +1 -0
- package/dist/index.esm.js +2 -0
- package/dist/index.esm.js.map +2 -2
- package/dist/index.js +2 -0
- package/dist/index.js.map +2 -2
- package/package.json +3 -3
- package/src/SlideApplication.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netless/forge-slide",
|
|
3
|
-
"version": "0.1.1-alpha.
|
|
3
|
+
"version": "0.1.1-alpha.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@netless/slide": "^1.4.15",
|
|
10
10
|
"uuid": "^11.0.5",
|
|
11
|
-
"@netless/forge-
|
|
12
|
-
"@netless/forge-
|
|
11
|
+
"@netless/forge-whiteboard": "0.1.14",
|
|
12
|
+
"@netless/forge-room": "0.1.8"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"eventemitter3": "^5.0.1",
|
package/src/SlideApplication.ts
CHANGED
|
@@ -64,7 +64,6 @@ export class SlideApplication extends AbstractApplication<SlideApplicationOption
|
|
|
64
64
|
|
|
65
65
|
this.slideContainer.style.width = "100%";
|
|
66
66
|
this.slideContainer.style.height = "100%";
|
|
67
|
-
// this.slideContainer.style.height = "calc(100% - 24px)";
|
|
68
67
|
|
|
69
68
|
this.footer = new FooterView();
|
|
70
69
|
this.sideBar = new SideBarView();
|
|
@@ -350,11 +349,13 @@ export class SlideApplication extends AbstractApplication<SlideApplicationOption
|
|
|
350
349
|
this.whiteboard.view.style.top = "0";
|
|
351
350
|
this.whiteboard.view.style.left = "0";
|
|
352
351
|
this.whiteboard.view.style.zIndex = "4";
|
|
352
|
+
this.whiteboard.view.classList.add("slide-whiteboard");
|
|
353
353
|
this.whiteboard.permissions.addPermission(WhiteboardPermissionFlag.all);
|
|
354
354
|
this.whiteboard.setCanvasBackgroundColor("#f0f0f000");
|
|
355
355
|
this.whiteboardContainer.style.position = "relative";
|
|
356
356
|
this.whiteboardContainer.style.flex = "0 0 auto";
|
|
357
357
|
this.whiteboardContainer.style.height = "calc(100% - 24px)";
|
|
358
|
+
this.whiteboardContainer.classList.add("forge-slide-whiteboard-container");
|
|
358
359
|
this.whiteboardContainer.appendChild(this.whiteboard.view);
|
|
359
360
|
this.whiteboardContainer.appendChild(this.slideContainer);
|
|
360
361
|
|