macos: remove the command palette appear/disappear animation

Lots of people complained about this and I don't see value in it.
This commit is contained in:
Mitchell Hashimoto
2025-12-18 15:35:48 -08:00
parent faa22c032e
commit 0ace736f46

View File

@@ -39,13 +39,8 @@ struct TerminalCommandPaletteView: View {
}
.frame(width: geometry.size.width, height: geometry.size.height, alignment: .top)
}
.transition(
.move(edge: .top)
.combined(with: .opacity)
)
}
}
.animation(.spring(response: 0.4, dampingFraction: 0.8), value: isPresented)
.onChange(of: isPresented) { newValue in
// When the command palette disappears we need to send focus back to the
// surface view we were overlaid on top of. There's probably a better way