- 
                Notifications
    
You must be signed in to change notification settings  - Fork 659
 
chore: 通过ID 移除图层&fillimage 镜像问题 #2736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Rebuild gl package native bindings to fix webgl.node missing error - Configure Jest to run tests serially (maxWorkers: 1) to avoid GL context conflicts - Add memory limits and Node.js heap size increase to prevent SIGABRT crashes - Add missing @eslint/js dependency for ESLint configuration - All 87 test suites now pass including citybuliding layer tests Fixes GL context creation issues in Jest environment that were causing worker processes to crash with SIGABRT errors due to memory limitations and concurrent GL context creation.
- Remove -actual suffix from snapshot files - Update existing snapshot files to match current rendering output - Clean up unused snapshot files
- Add changeset for layer relative coordinate system feature - Mark all L7 packages as minor version bump - Update changeset description
          🦋 Changeset detectedLatest commit: 808dff4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 12 packages
 Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR  | 
    
          概述此PR通过ID移除图层,修改了 变更
  | 
    
| // Tip: layer.layerChildren 当 layer 存在子图层的情况 | ||
| if (parentLayer) { | ||
| parentLayer.layerChildren = parentLayer.layerChildren.filter((item) => item !== layer); | ||
| if (!parentLayer.layerChildren) { | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
确保parentLayer.layerChildren存在以避免潜在的undefined错误。
| } | ||
| } else { | ||
| this.layers = this.layers.filter((item) => item !== layer); | ||
| const index = this.layers.findIndex((item) => item.id === layer.id); | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
确保this.layers中存在要移除的图层以避免潜在的undefined错误。
- 在着色器中对UV坐标进行X和Y轴翻转 - 解决图片绘制时的镜像翻转问题
[English Template / 英文模板]
🤔 这个变动的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
📝 更新日志
☑️ 请求合并前的自查清单