mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
style<ContextMenu>: Decrease opacity of ContextMenu's DropShadowEffect
This commit is contained in:
parent
f98ba79c09
commit
5239c396f8
1 changed files with 3 additions and 4 deletions
|
@ -18,11 +18,10 @@
|
||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
<Setter.Value>
|
<Setter.Value>
|
||||||
<ControlTemplate TargetType="{x:Type ContextMenu}">
|
<ControlTemplate TargetType="{x:Type ContextMenu}">
|
||||||
<Grid RenderTransformOrigin="12,12">
|
<Grid>
|
||||||
|
|
||||||
<Border Background="{DynamicResource Brush.Popup}" BorderThickness="0" Margin="12">
|
<Border Background="{DynamicResource Brush.Popup}" BorderThickness="0" Margin="12">
|
||||||
<Border.Effect>
|
<Border.Effect>
|
||||||
<DropShadowEffect BlurRadius="12" ShadowDepth="0" Color="Black"/>
|
<DropShadowEffect BlurRadius="8" ShadowDepth="0" Color="Black" Opacity=".6"/>
|
||||||
</Border.Effect>
|
</Border.Effect>
|
||||||
</Border>
|
</Border>
|
||||||
<StackPanel IsItemsHost="True" Margin="14" KeyboardNavigation.DirectionalNavigation="Cycle"/>
|
<StackPanel IsItemsHost="True" Margin="14" KeyboardNavigation.DirectionalNavigation="Cycle"/>
|
||||||
|
@ -72,7 +71,7 @@
|
||||||
<Grid>
|
<Grid>
|
||||||
<Border Background="{DynamicResource Brush.Popup}" BorderThickness="0" Margin="12">
|
<Border Background="{DynamicResource Brush.Popup}" BorderThickness="0" Margin="12">
|
||||||
<Border.Effect>
|
<Border.Effect>
|
||||||
<DropShadowEffect BlurRadius="12" ShadowDepth="0" Color="Black"/>
|
<DropShadowEffect BlurRadius="8" ShadowDepth="0" Color="Black" Opacity=".6"/>
|
||||||
</Border.Effect>
|
</Border.Effect>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue