@floegence/redevplugin-ui 3.0.32 → 3.0.33

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.
Files changed (2) hide show
  1. package/dist/surface.js +1 -0
  2. package/package.json +2 -2
package/dist/surface.js CHANGED
@@ -2303,6 +2303,7 @@ export function createOpaquePluginBootstrapHTML(options = {}) {
2303
2303
  sendWorkerTransfer({ type: "redevplugin.ui.canvas.ready", id, canvas_id: canvasID, canvas: offscreen, css_width: metrics.cssWidth, css_height: metrics.cssHeight, device_pixel_ratio: metrics.devicePixelRatio }, [offscreen]);
2304
2304
  return;
2305
2305
  }
2306
+ if (runtime.metrics?.cssWidth === metrics.cssWidth && runtime.metrics?.cssHeight === metrics.cssHeight && runtime.metrics?.devicePixelRatio === metrics.devicePixelRatio) return;
2306
2307
  runtime.metrics = metrics;
2307
2308
  sendInput({ type: "resize", css_width: metrics.cssWidth, css_height: metrics.cssHeight, device_pixel_ratio: metrics.devicePixelRatio });
2308
2309
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floegence/redevplugin-ui",
3
- "version": "3.0.32",
3
+ "version": "3.0.33",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -40,7 +40,7 @@
40
40
  "dist"
41
41
  ],
42
42
  "dependencies": {
43
- "@floegence/redevplugin-contracts": "3.0.32",
43
+ "@floegence/redevplugin-contracts": "3.0.33",
44
44
  "@noble/hashes": "2.4.0"
45
45
  },
46
46
  "publishConfig": {