@netless/telebox-insider 0.2.26 → 0.2.27
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/style.css +504 -1
- package/dist/telebox-insider.cjs.js +3121 -2
- package/dist/telebox-insider.cjs.js.map +1 -1
- package/dist/telebox-insider.es.js +3109 -2
- package/dist/telebox-insider.es.js.map +1 -1
- package/package.json +1 -1
- package/src/TeleBox/index.ts +6 -2
package/package.json
CHANGED
package/src/TeleBox/index.ts
CHANGED
|
@@ -888,8 +888,12 @@ export class TeleBox {
|
|
|
888
888
|
const absoluteWidth = size.width * containerRect.width;
|
|
889
889
|
const absoluteHeight = size.height * containerRect.height;
|
|
890
890
|
return {
|
|
891
|
-
width:
|
|
892
|
-
|
|
891
|
+
width:
|
|
892
|
+
absoluteWidth +
|
|
893
|
+
(minimized && collectorRect ? 1 : 0),
|
|
894
|
+
height:
|
|
895
|
+
absoluteHeight +
|
|
896
|
+
(minimized && collectorRect ? 1 : 0),
|
|
893
897
|
x: coord.x * containerRect.width,
|
|
894
898
|
y: coord.y * containerRect.height,
|
|
895
899
|
scaleX:
|