Feat/gantt taskBar clip config #4593
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤔 这个分支是...
🔗 相关 issue 连接
飞书群话题,无法复制链接,搜索下列场景关键字可得
💡 问题的背景&解决方案
场景:
现在我希望在甘特图中根据startDate和endDate自动生成的bar上再额外显示一条bar,这条新bar的时间区间可能和自动生成的bar不重叠我尝试用customLayout上加一个偏移的Rect实现,但是发现自定义的外层有一个barGroup,这个group设置了clip: true,导致我新增加的bar只有与自动生成重叠的部分才能显示
修改内容
原有barGroup的clip强制设置为true,现在增加了taskBar.clip(默认为true)配置项,支持手动控制clip
📝 Changelog
☑️ 自测
🚀 Summary
copilot:summary
🔍 Walkthrough
copilot:walkthrough