File tree 1 file changed +21
-1
lines changed
1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 12
12
xmlns : model =" using:Microsoft.Terminal.Settings.Model"
13
13
xmlns : mtu =" using:Microsoft.Terminal.UI"
14
14
xmlns : mux =" using:Microsoft.UI.Xaml.Controls"
15
+ MinWidth =" 256"
15
16
AllowFocusOnInteraction =" True"
16
17
AutomationProperties.Name=" {x:Bind ControlName, Mode=OneWay}"
17
18
IsTabStop =" True"
99
100
GeneralItemTemplate =" {StaticResource GeneralItemTemplate}"
100
101
NestedItemTemplate =" {StaticResource NestedItemTemplate}" />
101
102
103
+ <!--
104
+ Remove all item animations from the suggestions UI. They're
105
+ entirely too slow to let that UI be usable.
106
+ -->
107
+ <Style x : Key =" NoAnimationsPlease"
108
+ TargetType =" ListView" >
109
+ <Setter Property =" ItemContainerTransitions" >
110
+ <Setter .Value>
111
+ <TransitionCollection >
112
+ <!-- (deleted transitions are left for reference for what we removed) -->
113
+ <ContentThemeTransition />
114
+ <!-- <AddDeleteThemeTransition/>-->
115
+ <!-- <ReorderThemeTransition/>-->
116
+ <!-- <EntranceThemeTransition IsStaggeringEnabled="False"/>-->
117
+ </TransitionCollection >
118
+ </Setter .Value>
119
+ </Setter >
120
+ </Style >
102
121
</ResourceDictionary >
103
122
</UserControl .Resources>
104
123
203
222
ItemClick =" _listItemClicked"
204
223
ItemsSource =" {x:Bind FilteredActions}"
205
224
SelectionChanged =" _listItemSelectionChanged"
206
- SelectionMode =" Single" />
225
+ SelectionMode =" Single"
226
+ Style =" {StaticResource NoAnimationsPlease}" />
207
227
208
228
</Grid >
209
229
You can’t perform that action at this time.
0 commit comments