From a7c99beb6ba9ff971285143682001216ee8067f1 Mon Sep 17 00:00:00 2001 From: Mike Griese Date: Wed, 29 May 2024 16:30:08 -0700 Subject: [PATCH] Remove the animations from the command palette too (#17335) Exactly the same as #17247, but also just applied to the command palette. It's so much better guys. --- src/cascadia/TerminalApp/App.xaml | 19 +++++++++++++++++++ src/cascadia/TerminalApp/CommandPalette.xaml | 3 ++- .../TerminalApp/SuggestionsControl.xaml | 18 ------------------ 3 files changed, 21 insertions(+), 19 deletions(-) diff --git a/src/cascadia/TerminalApp/App.xaml b/src/cascadia/TerminalApp/App.xaml index 1cda23ddd7c..cc0ce1517d5 100644 --- a/src/cascadia/TerminalApp/App.xaml +++ b/src/cascadia/TerminalApp/App.xaml @@ -146,6 +146,25 @@ + + + diff --git a/src/cascadia/TerminalApp/CommandPalette.xaml b/src/cascadia/TerminalApp/CommandPalette.xaml index 2e143a5f12c..4a3864adb75 100644 --- a/src/cascadia/TerminalApp/CommandPalette.xaml +++ b/src/cascadia/TerminalApp/CommandPalette.xaml @@ -403,7 +403,8 @@ ItemClick="_listItemClicked" ItemsSource="{x:Bind FilteredActions}" SelectionChanged="_listItemSelectionChanged" - SelectionMode="Single" /> + SelectionMode="Single" + Style="{StaticResource NoAnimationsPlease}" /> diff --git a/src/cascadia/TerminalApp/SuggestionsControl.xaml b/src/cascadia/TerminalApp/SuggestionsControl.xaml index b3e81865b3f..49525aa4ad0 100644 --- a/src/cascadia/TerminalApp/SuggestionsControl.xaml +++ b/src/cascadia/TerminalApp/SuggestionsControl.xaml @@ -100,24 +100,6 @@ GeneralItemTemplate="{StaticResource GeneralItemTemplate}" NestedItemTemplate="{StaticResource NestedItemTemplate}" /> - -