Skip to content
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

优化 SettingsExpander 的性能 #777

Merged
merged 4 commits into from
Dec 14, 2023
Merged

优化 SettingsExpander 的性能 #777

merged 4 commits into from
Dec 14, 2023

Conversation

Blinue
Copy link
Owner

@Blinue Blinue commented Dec 14, 2023

  1. SettingsExpander.Items 的容器从 ListView 换成更轻量的 ItemsControl,这也意味着不支持拖拽排序了,ScalingConfigurationPage 改为使用独立的 ListView。
  2. 删除 SettingsExpanderItemStyleSelector,改为直接从资源中检索样式。
  3. 删除 SettingsExpander 的 ItemContainerStyleSelector 和 CanReorderItems 属性。
  4. ScalingConfigurationPage 的两个 ListView 改为 ItemsControl。
  5. 优化 ShortcutDialog 和 ScalingConfigurationPage 的键盘导航。

@Blinue Blinue merged commit eb98b25 into render-system Dec 14, 2023
2 checks passed
@Blinue Blinue deleted the expander branch December 14, 2023 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant