diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2017-01-21 13:51:20 +0100 |
---|---|---|
committer | Rui Marinho <me@ruimarinho.net> | 2017-01-30 23:24:11 +0000 |
commit | 1bf25891438f8356178ac71f18fe2974c75207a9 (patch) | |
tree | ec36c10a93ad9374a27f7d8885592ae6dabd63d3 /Xamarin.Forms.Platform.iOS | |
parent | 91ffd9623af6acd40a0881ec6defbd027620204b (diff) | |
download | xamarin-forms-1bf25891438f8356178ac71f18fe2974c75207a9.tar.gz xamarin-forms-1bf25891438f8356178ac71f18fe2974c75207a9.tar.bz2 xamarin-forms-1bf25891438f8356178ac71f18fe2974c75207a9.zip |
[iOS] redraw Frame on CornerRadius changed (#697)
Diffstat (limited to 'Xamarin.Forms.Platform.iOS')
-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(); } |