Repository navigation
fix(vlayouts): refresh word placement status on relayout - #297
Merged
Merged
Conversation
skie1997
reviewed
Nov 20, 2026
skie1997
left a comment
Contributor
There was a problem hiding this comment.
看过当前提交 3665d4f,未发现阻断问题。
修复方向是对的:每次重新布局都用本轮 place(...) 的结果覆盖 hasPlaced,避免放大或全局缩小回滚后沿用上一轮的 true,导致本轮已经放置失败的词仍被当作可见词输出。
新增的两个回归用例分别覆盖了 ensureMappingEnlarge 放大失败和 ensureMapping 全局缩小回滚;CI 的 build 和全量 package test 均通过(vlayouts:17 suites / 102 tests)。
skie1997
approved these changes
Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes VisActor/VChart#4591.
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
📝 Changelog
☑️ Self-Check before Merge
🚀 Summary
copilot:summary
🔍 Walkthrough
copilot:walkthrough