fix(taskbar): 使用实际任务项数量同步布局 fix:#833#844
Merged
Merged
Conversation
添加一个共享的 syncTaskbarLayout 辅助方法,用于根据当前 DOM 项计算任务栏的数量、显示状态和宽度。 在打开和关闭窗口时使用此辅助方法,以避免使用过时的计数值,并保持任务栏大小和可见性的一致性。
Contributor
Author
|
此版本我已无法复现 #833 |
Contributor
Author
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.
添加一个共享的 syncTaskbarLayout 辅助方法,用于根据当前 DOM 项计算任务栏的数量、显示状态和宽度。
在打开和关闭窗口时使用此辅助方法,以避免使用过时的计数值,并保持任务栏大小和可见性的一致性。
fix:#833