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