Browse Source

Fixed keybinds search shortcuts behaviour and updated pixiparser

Krzysztof Krysiński 2 years ago
parent
commit
35ff6616ca

+ 1 - 1
src/PixiEditor/PixiEditor.csproj

@@ -218,7 +218,7 @@
 		<PackageReference Include="Newtonsoft.Json" Version="13.0.2-beta2" />
 		<PackageReference Include="OneOf" Version="3.0.223" />
 		<PackageReference Include="PixiEditor.ColorPicker" Version="3.3.1" />
-		<PackageReference Include="PixiEditor.Parser" Version="3.0.0" />
+		<PackageReference Include="PixiEditor.Parser" Version="3.1.0" />
 		<PackageReference Include="PixiEditor.Parser.Skia" Version="3.0.0" />
 		<PackageReference Include="System.Drawing.Common" Version="7.0.0" />
 		<PackageReference Include="WpfAnimatedGif" Version="2.0.2" />

+ 5 - 1
src/PixiEditor/Views/Dialogs/SettingsWindow.xaml

@@ -210,7 +210,11 @@
                             Content="Reset all"/>
                 </StackPanel>
                 <TextBox Grid.Row="1" Style="{StaticResource DarkTextBoxStyle}" Margin="0,10"
-                         Text="{Binding SearchTerm, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
+                         Text="{Binding SearchTerm, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
+                    <i:Interaction.Behaviors>
+                        <behaviours:GlobalShortcutFocusBehavior/>
+                    </i:Interaction.Behaviors>
+                </TextBox>
 
                 <settingGroups:ShortcutsBinder Grid.Row="2"/>