From ff059c326961ffa398f86b815952b49b0bd726dd Mon Sep 17 00:00:00 2001 From: Nicolas Champagne Date: Fri, 8 May 2020 10:31:23 -0400 Subject: [PATCH] fix(solidcolorbrush): [ANDROID][WASM] Color brushes added to Thumbtint, TrackTint, Fill, and Stroke missing opacity --- .../ToggleSwitch_Default_Style.xaml | 52 ++++++++------- .../Windows_UI_Xaml_Shapes/EllipsePage.xaml | 65 +++++++++++++++---- .../Controls/BindableSwitchCompat.Android.cs | 4 +- src/Uno.UI/UI/Xaml/Shapes/Shape.wasm.cs | 4 +- 4 files changed, 87 insertions(+), 38 deletions(-) diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/ToggleSwitchControl/ToggleSwitch_Default_Style.xaml b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/ToggleSwitchControl/ToggleSwitch_Default_Style.xaml index 28306b20bf19..95e36546375f 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/ToggleSwitchControl/ToggleSwitch_Default_Style.xaml +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/ToggleSwitchControl/ToggleSwitch_Default_Style.xaml @@ -1,32 +1,38 @@ - + + + + + TargetType="ToggleSwitch"> - + + Enabled="{TemplateBinding IsEnabled}" /> @@ -43,10 +49,10 @@ xamarin:Style="{StaticResource UmbrellaToggleSwitchStyle}" IsOn="{Binding [IsOn], Mode=TwoWay}" /> - +