aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch/Controls
diff options
context:
space:
mode:
authorRoy <Roy.mail.net@gmail.com>2023-05-02 12:57:21 +0300
committerRoy <Roy.mail.net@gmail.com>2023-05-02 12:57:21 +0300
commitafda0c4348c2876132d82dc8876da9074670a378 (patch)
tree459beb3b6d8fdfb004e277179dfd0d17bad9e7d4 /Software/Visual_Studio/Tango.Touch/Controls
parenta3d3b71369e0a29821540b05b694daae0b577b27 (diff)
parent965fe4a83f0d5915a177ba902be2616b52f69887 (diff)
downloadTango-afda0c4348c2876132d82dc8876da9074670a378.tar.gz
Tango-afda0c4348c2876132d82dc8876da9074670a378.zip
Merge branch 'eureka' of https://twinetfs.visualstudio.com/Tango/_git/Tango into eureka
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch/Controls')
-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>