@xifu/shader-graph-glsl 0.4.0 → 0.4.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.
@@ -2988,7 +2988,7 @@ var Moveable = ({ gap = 0, children, x = 0, y = 0, z, containerEl }) => {
2988
2988
  let canRect = [0, 0, innerWidth, innerHeight, 0, 0];
2989
2989
  if (containerEl) {
2990
2990
  const { x: x2, y: y2, width, height } = containerEl.getBoundingClientRect();
2991
- const { x: offsetLeft, y: offsetTop } = getOffset(el.parentElement, document.body, 100);
2991
+ const { left: offsetLeft, top: offsetTop } = el.parentElement.getBoundingClientRect();
2992
2992
  canRect = [x2, y2, width, height, offsetLeft, offsetTop];
2993
2993
  }
2994
2994
  canRectCache = canRect;
@@ -14162,7 +14162,7 @@ var ListIOItem = ({ list, value, onChange }) => {
14162
14162
  // package.json
14163
14163
  var package_default = {
14164
14164
  name: "@xifu/shader-graph-glsl",
14165
- version: "0.4.0",
14165
+ version: "0.4.1",
14166
14166
  description: "Shader Graph GLSL \u2014 visual node-based shader editor & runtime engine",
14167
14167
  type: "module",
14168
14168
  private: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xifu/shader-graph-glsl",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Shader Graph GLSL — visual node-based shader editor & runtime engine",
5
5
  "type": "module",
6
6
  "private": false,