|
@@ -8,7 +8,7 @@
|
|
|
xmlns:userControls="clr-namespace:PixiEditor.Views.UserControls"
|
|
|
mc:Ignorable="d"
|
|
|
d:DesignHeight="600" d:DesignWidth="400">
|
|
|
- <ScrollViewer x:Name="commandScroll">
|
|
|
+ <ScrollViewer x:Name="commandScroll" FocusVisualStyle="{x:Null}">
|
|
|
<ScrollViewer.Template>
|
|
|
<ControlTemplate TargetType="{x:Type ScrollViewer}">
|
|
|
<Grid x:Name="Grid" Background="{TemplateBinding Background}">
|
|
@@ -31,17 +31,17 @@
|
|
|
<TextBlock Foreground="LightGray" HorizontalAlignment="Center" TextAlignment="Center"
|
|
|
Visibility="{Binding VisibleGroups, ConverterParameter=0, Mode=OneWay, Converter={converters:EqualityBoolToVisibilityConverter}}"
|
|
|
Text="Nothing found"/>
|
|
|
- <ItemsControl ItemsSource="{Binding Commands}" Foreground="White">
|
|
|
+ <ItemsControl ItemsSource="{Binding Commands}" Foreground="White" Focusable="False">
|
|
|
<ItemsControl.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
<StackPanel Margin="0,0,0,20" Visibility="{Binding Visibility}">
|
|
|
<TextBlock Text="{Binding DisplayName}" FontSize="22" FontWeight="SemiBold"/>
|
|
|
- <ItemsControl ItemsSource="{Binding Commands}">
|
|
|
+ <ItemsControl ItemsSource="{Binding Commands}" Focusable="False">
|
|
|
<ItemsControl.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
<Grid Margin="0,5,5,0" Visibility="{Binding Visibility}">
|
|
|
<TextBlock Text="{Binding Command.DisplayName}" ToolTip="{Binding Command.Description}"/>
|
|
|
- <userControls:ShortcutBox Width="120" Command="{Binding Command}" HorizontalAlignment="Right"/>
|
|
|
+ <userControls:ShortcutBox Width="120" Command="{Binding Command}" HorizontalAlignment="Right" Focusable="False"/>
|
|
|
</Grid>
|
|
|
</DataTemplate>
|
|
|
</ItemsControl.ItemTemplate>
|