@processmaker/modeler 1.43.14 → 1.43.15

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": "@processmaker/modeler",
3
- "version": "1.43.14",
3
+ "version": "1.43.15",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve --mode development",
6
6
  "test:unit": "vue-cli-service test:unit",
@@ -112,7 +112,6 @@ export default {
112
112
  },
113
113
  displayPreviewIframe() {
114
114
  const result = !!this.previewUrl && !this.showSpinner;
115
- console.log('mostrar iframe', result);
116
115
  return result ? 'visible' : 'hidden';
117
116
  },
118
117
  },
@@ -716,7 +716,9 @@ export default {
716
716
  }
717
717
 
718
718
  if (this.isOpenPreview && !this.isOpenInspector) {
719
- this.inspectorButtonRight = 65 + this.previewPanelWidth;
719
+ // the scaling is optimized for 1920px width. Other resolutions will be adjusted accordingly
720
+ const delta = screen.width / 1920;
721
+ this.inspectorButtonRight = 65 * delta + this.previewPanelWidth;
720
722
  }
721
723
 
722
724
  if (!this.isOpenPreview && !this.isOpenInspector) {