Browse Source

Improved look of PlatteColor

flabbet 3 years ago
parent
commit
ef51488950
1 changed files with 2 additions and 2 deletions
  1. 2 2
      PixiEditor/Views/UserControls/PaletteColor.xaml

+ 2 - 2
PixiEditor/Views/UserControls/PaletteColor.xaml

@@ -25,9 +25,9 @@
                 <SolidColorBrush Color="{Binding Color, Converter={StaticResource SKColorToMediaColorConverter}, ElementName=uc}" />
                 <SolidColorBrush Color="{Binding Color, Converter={StaticResource SKColorToMediaColorConverter}, ElementName=uc}" />
             </Border.Background>
             </Border.Background>
         </Border>
         </Border>
-        <Border HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="1 0 0 -1" Width="15"
+        <Border HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="15" Margin="0 0 0 -1"
                 Visibility="{Binding ElementName=uc, Path=AssociatedKey, Converter={converters:NotNullToVisibilityConverter}}"
                 Visibility="{Binding ElementName=uc, Path=AssociatedKey, Converter={converters:NotNullToVisibilityConverter}}"
-                Background="{StaticResource AccentColor}" CornerRadius="3.5">
+                Background="{StaticResource AccentColor}" CornerRadius="3.5 0 3.5 0">
             <TextBlock Foreground="White" FontSize="16" HorizontalAlignment="Center" Margin="1 0 0 0"
             <TextBlock Foreground="White" FontSize="16" HorizontalAlignment="Center" Margin="1 0 0 0"
                                         Text="{Binding AssociatedKey, ElementName=uc}"/>
                                         Text="{Binding AssociatedKey, ElementName=uc}"/>
         </Border>
         </Border>