diff --git a/packages/g-mobile-webgl/CHANGELOG.md b/packages/g-mobile-webgl/CHANGELOG.md index 47bc005cc..caaaefa8f 100644 --- a/packages/g-mobile-webgl/CHANGELOG.md +++ b/packages/g-mobile-webgl/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-mobile-webgl +## 0.9.22 + +### Patch Changes + +- Updated dependencies [7c3543dd] + - @antv/g-plugin-device-renderer@1.9.19 + ## 0.9.21 ### Patch Changes diff --git a/packages/g-mobile-webgl/package.json b/packages/g-mobile-webgl/package.json index b1228bef7..fddf7b0f4 100644 --- a/packages/g-mobile-webgl/package.json +++ b/packages/g-mobile-webgl/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-mobile-webgl", - "version": "0.9.21", + "version": "0.9.22", "description": "A renderer implemented by WebGL1/2 in mobile environment", "keywords": [ "antv", diff --git a/packages/g-plugin-3d/CHANGELOG.md b/packages/g-plugin-3d/CHANGELOG.md index d7a25fbe6..ede2cbc80 100644 --- a/packages/g-plugin-3d/CHANGELOG.md +++ b/packages/g-plugin-3d/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-3d +## 1.9.19 + +### Patch Changes + +- Updated dependencies [7c3543dd] + - @antv/g-plugin-device-renderer@1.9.19 + ## 1.9.18 ### Patch Changes diff --git a/packages/g-plugin-3d/package.json b/packages/g-plugin-3d/package.json index eeafb45b3..fe7f05cdb 100644 --- a/packages/g-plugin-3d/package.json +++ b/packages/g-plugin-3d/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-3d", - "version": "1.9.18", + "version": "1.9.19", "description": "Provide 3D extension for G", "keywords": [ "antv", diff --git a/packages/g-plugin-device-renderer/CHANGELOG.md b/packages/g-plugin-device-renderer/CHANGELOG.md index 8e9430a50..c1fb44dd1 100644 --- a/packages/g-plugin-device-renderer/CHANGELOG.md +++ b/packages/g-plugin-device-renderer/CHANGELOG.md @@ -1,5 +1,11 @@ # @antv/g-plugin-device-renderer +## 1.9.19 + +### Patch Changes + +- 7c3543dd: Check marker's parentNode should not be null. + ## 1.9.18 ### Patch Changes diff --git a/packages/g-plugin-device-renderer/package.json b/packages/g-plugin-device-renderer/package.json index 374c8e6ef..d030b77a2 100644 --- a/packages/g-plugin-device-renderer/package.json +++ b/packages/g-plugin-device-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-device-renderer", - "version": "1.9.18", + "version": "1.9.19", "description": "A G plugin of renderer implementation with GPUDevice", "keywords": [ "antv", diff --git a/packages/g-plugin-device-renderer/src/drawcalls/InstancedPath.ts b/packages/g-plugin-device-renderer/src/drawcalls/InstancedPath.ts index 2f8d72cc8..49aa5f04d 100644 --- a/packages/g-plugin-device-renderer/src/drawcalls/InstancedPath.ts +++ b/packages/g-plugin-device-renderer/src/drawcalls/InstancedPath.ts @@ -569,7 +569,12 @@ export function updateBuffer( let x: number; let y: number; - if (markerStart && isDisplayObject(markerStart) && markerStartOffset) { + if ( + markerStart && + markerStart.parentNode && + isDisplayObject(markerStart) && + markerStartOffset + ) { const [p1, p2] = (markerStart.parentNode as Path).getStartTangent(); x = p1[0] - p2[0]; y = p1[1] - p2[1]; @@ -579,7 +584,12 @@ export function updateBuffer( startOffsetY = Math.sin(rad) * (markerStartOffset || 0); } - if (markerEnd && isDisplayObject(markerEnd) && markerEndOffset) { + if ( + markerEnd && + markerEnd.parentNode && + isDisplayObject(markerEnd) && + markerEndOffset + ) { const [p1, p2] = (markerEnd.parentNode as Path).getEndTangent(); x = p1[0] - p2[0]; y = p1[1] - p2[1]; diff --git a/packages/g-web-components/CHANGELOG.md b/packages/g-web-components/CHANGELOG.md index 19749628c..67c25a4fd 100644 --- a/packages/g-web-components/CHANGELOG.md +++ b/packages/g-web-components/CHANGELOG.md @@ -1,5 +1,11 @@ # @antv/g-web-components +## 1.9.22 + +### Patch Changes + +- @antv/g-webgl@1.9.22 + ## 1.9.21 ### Patch Changes diff --git a/packages/g-web-components/package.json b/packages/g-web-components/package.json index b2d3c4a8e..5d5c90003 100644 --- a/packages/g-web-components/package.json +++ b/packages/g-web-components/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-web-components", - "version": "1.9.21", + "version": "1.9.22", "description": "A declarative usage for G implemented with WebComponents", "keywords": [ "antv", diff --git a/packages/g-webgl/CHANGELOG.md b/packages/g-webgl/CHANGELOG.md index afaf938d3..5799628c6 100644 --- a/packages/g-webgl/CHANGELOG.md +++ b/packages/g-webgl/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-webgl +## 1.9.22 + +### Patch Changes + +- Updated dependencies [7c3543dd] + - @antv/g-plugin-device-renderer@1.9.19 + ## 1.9.21 ### Patch Changes diff --git a/packages/g-webgl/package.json b/packages/g-webgl/package.json index e74892a40..e774587ab 100644 --- a/packages/g-webgl/package.json +++ b/packages/g-webgl/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-webgl", - "version": "1.9.21", + "version": "1.9.22", "description": "A renderer implemented by WebGL1/2", "keywords": [ "antv", diff --git a/packages/g-webgpu/CHANGELOG.md b/packages/g-webgpu/CHANGELOG.md index 4b5754ab9..49275bd59 100644 --- a/packages/g-webgpu/CHANGELOG.md +++ b/packages/g-webgpu/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-webgpu +## 1.9.22 + +### Patch Changes + +- Updated dependencies [7c3543dd] + - @antv/g-plugin-device-renderer@1.9.19 + ## 1.9.21 ### Patch Changes diff --git a/packages/g-webgpu/package.json b/packages/g-webgpu/package.json index 0e46b5e17..7678d5298 100644 --- a/packages/g-webgpu/package.json +++ b/packages/g-webgpu/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-webgpu", - "version": "1.9.21", + "version": "1.9.22", "description": "A renderer implemented by WebGPU", "keywords": [ "antv",