This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
src/GitHub.VisualStudio/Views/GitHubPane Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 317317 <ui : OcticonImage .Style>
318318 <Style TargetType =" ui:OcticonImage" BasedOn =" {StaticResource OcticonImage}" >
319319 <Style .Triggers>
320- <DataTrigger Binding =" {Binding Status}" Value =" Removed" >
320+ <MultiDataTrigger >
321+ <MultiDataTrigger .Conditions>
322+ <Condition Binding =" {Binding Status}" Value =" Removed" />
323+ <Condition Binding =" {Binding RelativeSource={RelativeSource AncestorType={x:Type TreeViewItem}}, Path=IsSelected}" Value =" False" />
324+ </MultiDataTrigger .Conditions>
321325 <Setter Property =" Foreground" Value =" {DynamicResource GitHubDeletedFileIconBrush}" />
322- </DataTrigger >
326+ </MultiDataTrigger >
323327 </Style .Triggers>
324328 </Style >
325329 </ui : OcticonImage .Style>
329333 <Style TargetType =" TextBlock" >
330334 <Style .Triggers>
331335 <DataTrigger Binding =" {Binding Status}" Value =" Removed" >
332- <Setter Property =" Foreground" Value =" {DynamicResource GitHubDeletedFileBrush}" />
333336 <Setter Property =" TextDecorations" Value =" Strikethrough" />
334337 </DataTrigger >
338+ <MultiDataTrigger >
339+ <MultiDataTrigger .Conditions>
340+ <Condition Binding =" {Binding Status}" Value =" Removed" />
341+ <Condition Binding =" {Binding RelativeSource={RelativeSource AncestorType={x:Type TreeViewItem}}, Path=IsSelected}" Value =" False" />
342+ </MultiDataTrigger .Conditions>
343+ <Setter Property =" Foreground" Value =" {DynamicResource GitHubDeletedFileBrush}" />
344+ </MultiDataTrigger >
335345 </Style .Triggers>
336346 </Style >
337347 </TextBlock .Style>
You can’t perform that action at this time.
0 commit comments