fix(options): expand-all widens money filter so more strikes show

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-10 17:45:02 +08:00
parent 245b85ad27
commit a90876d772
4 changed files with 23 additions and 5 deletions
+5
View File
@@ -2219,6 +2219,11 @@
if (expandAllCb) {
expandAllCb.addEventListener("change", function () {
state.strikeExpandAll = !!expandAllCb.checked;
// 实值/虚值筛选下档位本来就少,展开几乎不变;勾选时切回「全部」才有意义
if (state.strikeExpandAll && state.moneyFilter !== "all") {
state.moneyFilter = "all";
syncMoneyFilterButtons();
}
renderStrikes();
});
}