@netless/telebox-insider 1.0.0-alpha.13 → 1.0.0-alpha.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netless/telebox-insider",
3
- "version": "1.0.0-alpha.13",
3
+ "version": "1.0.0-alpha.14",
4
4
  "private": false,
5
5
  "description": "Window widget for Whiteboard",
6
6
  "license": "MIT",
@@ -817,8 +817,8 @@ export class TeleBox {
817
817
  const observer = new ResizeObserver(() => {
818
818
  const rect = $content.getBoundingClientRect();
819
819
  this._contentRect$.setValue({
820
- x: rect.x,
821
- y: rect.y,
820
+ x: 0,
821
+ y: 0,
822
822
  width: rect.width,
823
823
  height: rect.height,
824
824
  });
@@ -114,8 +114,8 @@ export class TeleBoxManager {
114
114
  const observer = new ResizeObserver(() => {
115
115
  const rect = root.getBoundingClientRect();
116
116
  rootRect$.setValue({
117
- x: rect.x,
118
- y: rect.y,
117
+ x: 0,
118
+ y: 0,
119
119
  width: rect.width,
120
120
  height: rect.height,
121
121
  });