feat(settings): 默认启用短动效并提供独立减弱动画选项
This commit is contained in:
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user