ts-glitter 13.6.0 → 13.6.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/lowcode/Entry.js CHANGED
@@ -59,7 +59,7 @@ export class Entry {
59
59
  }
60
60
  window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
61
61
  console.log(`Entry-time:`, window.renderClock.stop());
62
- glitter.share.editerVersion = "V_13.6.0";
62
+ glitter.share.editerVersion = "V_13.6.1";
63
63
  glitter.share.start = (new Date());
64
64
  const vm = {
65
65
  appConfig: [],
package/lowcode/Entry.ts CHANGED
@@ -60,7 +60,7 @@ export class Entry {
60
60
  }
61
61
  (window as any).renderClock = (window as any).renderClock ?? clockF();
62
62
  console.log(`Entry-time:`, (window as any).renderClock.stop());
63
- glitter.share.editerVersion = "V_13.6.0";
63
+ glitter.share.editerVersion = "V_13.6.1";
64
64
  glitter.share.start = (new Date());
65
65
  const vm: {
66
66
  appConfig: any;
@@ -1035,7 +1035,8 @@ export class Main_editor {
1035
1035
  frame.style.left = `0`;
1036
1036
  }
1037
1037
  if (gvc.glitter.share.top_inset) {
1038
- frame.style.top = `${parseInt(gvc.glitter.share.top_inset, 10) + 10}0x`;
1038
+ frame.style.top = `${parseInt(gvc.glitter.share.top_inset, 10) + 10}px`;
1039
+ frame.style.height = `${frame_height - (parseInt(gvc.glitter.share.top_inset, 10) + 10)}px`;
1039
1040
  }
1040
1041
  };
1041
1042
  return gvc.bindView(() => {
@@ -1113,7 +1113,7 @@ export class Main_editor {
1113
1113
  const frame_height = container_height * (frame_width / container_width);
1114
1114
  const frame: any = document.querySelector('.iframe_view')!
1115
1115
  frame.style.width = `${frame_width}px`;
1116
- frame.style.height = `${frame_height}px`;
1116
+ frame.style.height = `${frame_height }px`;
1117
1117
  frame.style.transform = `scale(${(container_width / frame_width).toFixed(2)})`
1118
1118
  if (document.body.clientWidth > 800 && Storage.view_type === ViewType.mobile) {
1119
1119
  frame.style.left = `25%`;
@@ -1121,8 +1121,10 @@ export class Main_editor {
1121
1121
  frame.style.left = `0`;
1122
1122
  }
1123
1123
  if (gvc.glitter.share.top_inset) {
1124
- frame.style.top = `${parseInt(gvc.glitter.share.top_inset, 10) + 10}0x`;
1124
+ frame.style.top = `${parseInt(gvc.glitter.share.top_inset, 10) + 10}px`;
1125
+ frame.style.height = `${frame_height - (parseInt(gvc.glitter.share.top_inset, 10) + 10)}px`;
1125
1126
  }
1127
+
1126
1128
  }
1127
1129
  return gvc.bindView(() => {
1128
1130
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "13.6.0",
3
+ "version": "13.6.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {