Skip to content

Conversation

@yaoyaozijing
Copy link
Contributor

  1. 对桌面端使用固定的缓存尺寸,以避免调整窗口大小时反复重载番剧封面导致的闪烁感。而对移动端保留原有内存优化法
  2. 优化推荐、追番页列数计算方法,超过Compact宽度后,宽度每增加200时增加一列,以在超宽窗口中显示更多内容。

@Predidit
Copy link
Owner

我个人不是很喜欢这个实现,它浪费了内存并且破坏了跨平台一致性

@yaoyaozijing
Copy link
Contributor Author

更换了新写法,各平台保持一致、同时节约了内存。

@Predidit
Copy link
Owner

新的写法似乎没有解决闪烁,组件树仍然会完全重建

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants