diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2017-01-21 13:51:20 +0100 |
---|---|---|
committer | Rui Marinho <me@ruimarinho.net> | 2017-01-21 12:51:20 +0000 |
commit | 5f9e5e56bba9535d9fa9bba5d8c37041405acba8 (patch) | |
tree | 2f67425607ded366484c63f50fbdf6675e3ff726 | |
parent | c9b384ce1890979efc4fdcbcd6cdca44b89bb530 (diff) | |
download | xamarin-forms-5f9e5e56bba9535d9fa9bba5d8c37041405acba8.tar.gz xamarin-forms-5f9e5e56bba9535d9fa9bba5d8c37041405acba8.tar.bz2 xamarin-forms-5f9e5e56bba9535d9fa9bba5d8c37041405acba8.zip |
[iOS] redraw Frame on CornerRadius changed (#697)
-rw-r--r-- | Xamarin.Forms.Platform.iOS/Renderers/FrameRenderer.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Renderers/FrameRenderer.cs b/Xamarin.Forms.Platform.iOS/Renderers/FrameRenderer.cs index 3914cf30..52764b9c 100644 --- a/Xamarin.Forms.Platform.iOS/Renderers/FrameRenderer.cs +++ b/Xamarin.Forms.Platform.iOS/Renderers/FrameRenderer.cs @@ -18,8 +18,10 @@ namespace Xamarin.Forms.Platform.iOS { base.OnElementPropertyChanged(sender, e); - if (e.PropertyName == VisualElement.BackgroundColorProperty.PropertyName || e.PropertyName == Xamarin.Forms.Frame.OutlineColorProperty.PropertyName || - e.PropertyName == Xamarin.Forms.Frame.HasShadowProperty.PropertyName) + if (e.PropertyName == VisualElement.BackgroundColorProperty.PropertyName || + e.PropertyName == Xamarin.Forms.Frame.OutlineColorProperty.PropertyName || + e.PropertyName == Xamarin.Forms.Frame.HasShadowProperty.PropertyName || + e.PropertyName == Xamarin.Forms.Frame.CornerRadiusProperty.PropertyName) SetupLayer(); } |