File tree Expand file tree Collapse file tree 3 files changed +21
-19
lines changed Expand file tree Collapse file tree 3 files changed +21
-19
lines changed Original file line number Diff line number Diff line change 146
146
</Setter >
147
147
</Style >
148
148
149
+ <!--
150
+ Remove all item animations from the suggestions UI and command
151
+ palette. They're entirely too slow to let that UI be usable.
152
+ -->
153
+ <Style x : Key =" NoAnimationsPlease"
154
+ TargetType =" ListView" >
155
+ <Setter Property =" ItemContainerTransitions" >
156
+ <Setter .Value>
157
+ <TransitionCollection >
158
+ <!-- (deleted transitions are left for reference for what we removed) -->
159
+ <ContentThemeTransition />
160
+ <!-- <AddDeleteThemeTransition/>-->
161
+ <!-- <ReorderThemeTransition/>-->
162
+ <!-- <EntranceThemeTransition IsStaggeringEnabled="False"/>-->
163
+ </TransitionCollection >
164
+ </Setter .Value>
165
+ </Setter >
166
+ </Style >
167
+
149
168
<ResourceDictionary .ThemeDictionaries>
150
169
<ResourceDictionary x : Key =" Dark" >
151
170
<!-- Define resources for Dark mode here -->
Original file line number Diff line number Diff line change 403
403
ItemClick =" _listItemClicked"
404
404
ItemsSource =" {x:Bind FilteredActions}"
405
405
SelectionChanged =" _listItemSelectionChanged"
406
- SelectionMode =" Single" />
406
+ SelectionMode =" Single"
407
+ Style =" {StaticResource NoAnimationsPlease}" />
407
408
408
409
</Grid >
409
410
Original file line number Diff line number Diff line change 100
100
GeneralItemTemplate =" {StaticResource GeneralItemTemplate}"
101
101
NestedItemTemplate =" {StaticResource NestedItemTemplate}" />
102
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 >
121
103
</ResourceDictionary >
122
104
</UserControl .Resources>
123
105
You can’t perform that action at this time.
0 commit comments