Updated animations
This commit is contained in:
parent
7816931e75
commit
85aa0905bd
@ -41,8 +41,10 @@ struct ExperimentalFeaturesSection: View {
|
||||
}
|
||||
.toggleStyle(.switch)
|
||||
.help("Automatically pause active media playback during recordings and resume afterward.")
|
||||
.transition(.opacity.combined(with: .move(edge: .top)))
|
||||
}
|
||||
}
|
||||
.animation(.easeInOut(duration: 0.3), value: isExperimentalFeaturesEnabled)
|
||||
.padding(16)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.background(CardBackground(isSelected: false, useAccentGradientWhenSelected: true))
|
||||
|
||||
@ -77,7 +77,7 @@ struct SettingsView: View {
|
||||
// Custom Cancel Shortcut
|
||||
VStack(alignment: .leading, spacing: 12) {
|
||||
HStack(spacing: 8) {
|
||||
Toggle(isOn: $isCustomCancelEnabled) {
|
||||
Toggle(isOn: $isCustomCancelEnabled.animation()) {
|
||||
Text("Custom Cancel Shortcut")
|
||||
}
|
||||
.toggleStyle(.switch)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user