docs(plans): 记录 K27.5 中心按钮口径

This commit is contained in:
Zhou Weidong committed 2026-10-19 17:21:07 +08:00
1 parent 980ce77192
commit 19c608fb31
1 file changed
+36
+36
View File
@@ -5506,3 +5506,39 @@ b1747af merge: 保持清屏并常驻中心按钮
提交与合并 author/committer 均为 `Zhou Weidong <502333560@qq.com>`;
`develop` 与 `fix/flutter-clear-screen-state` 已推送。真机验收由用户执行。
### K27.5 中心按钮最终口径:仅暂停时显示(2026-10-19)
- 播放中(普通态/清屏态)`player-play-toggle` 不渲染。
- 暂停时中心显示 `PlayerCenterToggle(playing:false)`;点它或点画面恢复播放,
按钮立即消失。
- 播放页中心按钮仍在 `_controlsVisible` 控制层块外,保证清屏 + 暂停时可见。
- 首页 `home-feed-center-play` 只在 `!session.userWantsPlay` 时渲染;
清屏不影响该规则。
- 清屏跨滑动保持、退出按钮、清屏态点画面播放切换、无定时器均保留。
门禁原始输出:
```text
$ dart analyze lib test
No issues found!
$ flutter test
00:28 +353: All tests passed!
$ flutter build apk --debug
Running Gradle task 'assembleDebug'... 23.1s
✓ Built build/app/outputs/flutter-apk/app-debug.apk
```
构建在 `/tmp/reelshort-center-paused` 独立 worktree 完成。
Git:
```text
71e317f fix(player): 中心按钮仅暂停时显示
99a57ec merge: 中心按钮仅暂停时显示
```
提交与合并 author/committer 均为 `Zhou Weidong <502333560@qq.com>`;
`develop` 与 `fix/flutter-center-toggle-paused-only` 已推送。真机验收由用户执行。