feat(settings): 默认启用短动效并提供独立减弱动画选项

This commit is contained in:
2026-11-04 11:53:17 +08:00
parent 40a7a55edf
commit f18f6652ff
23 changed files with 443 additions and 34 deletions
+3 -1
View File
@@ -49,7 +49,9 @@ import AppKit
menuBar = MenuPanelController(visibility: { [metrics] in metrics.setPanelVisible($0) },
menuTitle: { [language] key in
AppLocalization.string("status." + key, locale: language.locale, table: "StatusItem")
}, openSettings: { [weak self] in self?.settingsCommand() }) { [self] panel in
}, openSettings: { [weak self] in self?.settingsCommand() }, reducedMotion: { [appearance] in
appearance.reduceMotion || PanelResourceAudit.enabled
}) { [self] panel in
if PanelResourceAudit.omitted == "text" {
TextMonitoringAuditView(metrics: self.metrics, appearance: self.appearance)
} else if PanelResourceAudit.omitted == "all" {