Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

滚动性能优化 #1054

Merged
merged 5 commits into from
Apr 16, 2022
Merged

滚动性能优化 #1054

merged 5 commits into from
Apr 16, 2022

Conversation

Richasy
Copy link
Owner

@Richasy Richasy commented Apr 16, 2022

Close #896 #805

今天花了半天的时间研究为何列数超过4列滚动就会卡。在尝试了很多种方式之后,最终发现是附加在卡片控件上的阴影导致滚动时在UI线程上进行了大量运算。考虑到阴影效果不明显,直接移除就会带来滚动性能的大幅提升,那就没啥犹豫的,砍就完事了

PR 类型

这个 PR 的目的是什么?

  • Bug 修复

当前行为是什么?

滚动时卡顿掉帧

新的行为是什么?

恢复一个UWP应用应有的滚动性能

PR 检查清单

请检查你的 PR 是否满足以下要求:

  • 应用成功启动
  • 文件头已经被添加至所有源文件中

破坏更新:
移除卡片阴影效果

备注

@Richasy Richasy added bug 🐛 异常或错误使得应用不能按预期工作 UI 问题 🎨 用户界面表现不符合预期 操作与体验 🧤 有关操作体验的问题 labels Apr 16, 2022
@Richasy Richasy linked an issue Apr 16, 2022 that may be closed by this pull request
13 tasks
@Richasy Richasy merged commit c801a69 into main Apr 16, 2022
@Richasy Richasy deleted the richasy/imgPerf branch April 16, 2022 12:23
@Richasy Richasy linked an issue Apr 16, 2022 that may be closed by this pull request
11 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug 🐛 异常或错误使得应用不能按预期工作 UI 问题 🎨 用户界面表现不符合预期 操作与体验 🧤 有关操作体验的问题
Projects
None yet
1 participant