mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-07 09:28:03 +08:00
Fix Focus issue on clicking list view (#5045)
* Focus working after right click * Removed unnecessary focussable setter
This commit is contained in:
parent
e8de6f0ace
commit
45bab578c4
@ -30,6 +30,7 @@
|
||||
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
||||
<Setter Property="Foreground" Value="{DynamicResource ControlTextBrushKey}"/>
|
||||
<Setter Property="BorderThickness" Value="1"/>
|
||||
<Setter Property="Focusable" Value="False"/>
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
||||
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
||||
<Setter Property="Padding" Value="1"/>
|
||||
@ -88,6 +89,7 @@
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Setter Property="Focusable" Value="False" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="CommandButtonListViewItemContainerStyle" TargetType="ListViewItem">
|
||||
@ -201,7 +203,6 @@
|
||||
Style="{DynamicResource CollapsableTextblock}"
|
||||
Foreground="{DynamicResource ToolTipForegroundBrushKey}" FontSize="12"
|
||||
Text="{Binding Result.ToolTipData.Text}"
|
||||
|
||||
TextWrapping="Wrap" />
|
||||
</StackPanel>
|
||||
</ToolTip>
|
||||
|
Loading…
Reference in New Issue
Block a user