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
@@ -33,6 +33,7 @@ struct AppearanceSettingsView: View {
.frame(width: 520)
.frame(minHeight: 420, idealHeight: 460)
.modifier(AppearanceStyle(preferences: preferences, refreshContentOnChange: true))
.transaction { $0.animation = nil; $0.disablesAnimations = true }
}
private var generalPage: some View {
@@ -62,10 +63,6 @@ struct AppearanceSettingsView: View {
.tint(.primary)
}
}
Section {
Toggle("motion.reduce", isOn: $preferences.reduceMotion)
Text("motion.help").font(.callout).foregroundStyle(.secondary)
}
Section {
Toggle("sampling.backgroundEnabled", isOn: $sampling.backgroundEnabled)
LabeledContent("sampling.background") {