fix(suite): prevent wheel changes in generation settings

This commit is contained in:
chengma
2026-07-17 12:05:57 +08:00
parent d5d991e844
commit 01697759fc
4 changed files with 128 additions and 6 deletions
+3 -1
View File
@@ -3,7 +3,7 @@ id: T-652
title: 商品套图生成设置下拉框防滚轮误改
phase: 7
deps: []
status: TODO
status: DONE
created: 2026-07-17
---
@@ -62,3 +62,5 @@ git diff --check
## 执行记录
- 2026-07-17:根据生成设置下拉框滚轮误改问题创建任务。待实现。
- 2026-07-17:开始实现仅限商品套图四个生成设置下拉框的防滚轮误改交互。
- 2026-07-17:已新增局部 `SuiteSettingsComboBox`。平台、站点、语言、比例在闭合时把滚轮转交给 `suiteConfigScroll`,展开时转交候选列表;鼠标和键盘选择保持不变。验证:`py -3.10 -m unittest discover -s tests`(578 项通过)、`py -3.10 -m ruff check app tests main.py`、`py -3.10 -m compileall app main.py`、`git diff --check` 通过。