Browse Source

Removed focus visual style for grid

Krzysztof Krysiński 3 years ago
parent
commit
9d0adc8d5f

+ 0 - 1
PixiEditor/Models/Controllers/ClipboardController.cs

@@ -138,7 +138,6 @@ namespace PixiEditor.Models.Controllers
         /// <summary>
         /// <summary>
         ///     Gets image from clipboard, supported PNG, Dib and Bitmap.
         ///     Gets image from clipboard, supported PNG, Dib and Bitmap.
         /// </summary>
         /// </summary>
-        /// <returns>WriteableBitmap.</returns>
         private static IEnumerable<Layer> GetLayersFromClipboard()
         private static IEnumerable<Layer> GetLayersFromClipboard()
         {
         {
             DataObject data = ClipboardHelper.TryGetDataObject();
             DataObject data = ClipboardHelper.TryGetDataObject();

+ 2 - 2
PixiEditor/Properties/AssemblyInfo.cs

@@ -50,5 +50,5 @@ using System.Windows;
 // You can specify all the values or you can default the Build and Revision Numbers
 // You can specify all the values or you can default the Build and Revision Numbers
 // by using the '*' as shown below:
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("0.1.7.0")]
-[assembly: AssemblyFileVersion("0.1.7.0")]
+[assembly: AssemblyVersion("0.1.8.0")]
+[assembly: AssemblyFileVersion("0.1.8.0")]

+ 4 - 0
PixiEditor/Styles/ThemeStyle.xaml

@@ -5,6 +5,10 @@
         <Setter Property="Foreground" Value="White" />
         <Setter Property="Foreground" Value="White" />
     </Style>
     </Style>
 
 
+    <Style TargetType="{x:Type Grid}">
+        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
+    </Style>
+
     <Style TargetType="Button" x:Key="BaseDarkButton">
     <Style TargetType="Button" x:Key="BaseDarkButton">
         <Setter Property="Background" Value="#404040" />
         <Setter Property="Background" Value="#404040" />
         <Setter Property="Foreground" Value="White" />
         <Setter Property="Foreground" Value="White" />