aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch')
-rw-r--r--Software/Visual_Studio/Tango.Touch/Controls/TouchToggleSlider.xaml9
1 files changed, 5 insertions, 4 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchToggleSlider.xaml b/Software/Visual_Studio/Tango.Touch/Controls/TouchToggleSlider.xaml
index adb76ebd3..66328ea2d 100644
--- a/Software/Visual_Studio/Tango.Touch/Controls/TouchToggleSlider.xaml
+++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchToggleSlider.xaml
@@ -178,14 +178,15 @@
<Setter.Value>
<ControlTemplate TargetType="{x:Type local:TouchToggleSlider}">
<Border>
+ <Border.Effect>
+ <DropShadowEffect ShadowDepth="0" BlurRadius="1" Opacity="1"/>
+ </Border.Effect>
+
<components:Ripple CornerRadius="{TemplateBinding CornerRadius}" Centered="True" RippleBrush="{StaticResource TangoRippleDarkBrush}">
<Border
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="{TemplateBinding CornerRadius}">
- <Border.Effect>
- <DropShadowEffect ShadowDepth="0" BlurRadius="10" Opacity="0.5"/>
- </Border.Effect>
-
+
<Border.Style>
<Style TargetType="Border">
<Setter Property="Background" Value="{Binding RelativeSource={RelativeSource AncestorType=local:TouchToggleSlider},Path=UncheckedBackground}"></Setter>