perf(ui): 移除监控动效并精简原生图表绘制

This commit is contained in:
2026-11-07 14:39:27 +08:00
parent 10c73c6026
commit 80706fa52e
54 changed files with 264 additions and 778 deletions
+1 -3
View File
@@ -49,9 +49,7 @@ 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() }, reducedMotion: { [appearance] in
appearance.reduceMotion || PanelResourceAudit.enabled
}) { [self] panel in
}, openSettings: { [weak self] in self?.settingsCommand() }) { [self] panel in
if PanelResourceAudit.omitted == "text" {
TextMonitoringAuditView(metrics: self.metrics, appearance: self.appearance)
} else if PanelResourceAudit.omitted == "all" {