mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-09 23:03:26 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user