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
@@ -62,12 +62,16 @@ 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") {
IntervalControl(milliseconds: $sampling.backgroundMilliseconds)
}.disabled(!sampling.backgroundEnabled)
Text("sampling.backgroundHelp").font(.callout).foregroundStyle(.secondary)
Text("sampling.recordingHelp").font(.callout).foregroundStyle(.secondary)
}
}
.formStyle(.grouped)