summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS
diff options
context:
space:
mode:
authorStephane Delcroix <stephane@delcroix.org>2017-01-21 12:51:20 (GMT)
committerRui Marinho <me@ruimarinho.net>2017-01-21 12:51:20 (GMT)
commit5f9e5e56bba9535d9fa9bba5d8c37041405acba8 (patch)
tree2f67425607ded366484c63f50fbdf6675e3ff726 /Xamarin.Forms.Platform.iOS
parentc9b384ce1890979efc4fdcbcd6cdca44b89bb530 (diff)
downloadxamarin-forms-5f9e5e56bba9535d9fa9bba5d8c37041405acba8.zip
xamarin-forms-5f9e5e56bba9535d9fa9bba5d8c37041405acba8.tar.gz
xamarin-forms-5f9e5e56bba9535d9fa9bba5d8c37041405acba8.tar.bz2
[iOS] redraw Frame on CornerRadius changed (#697)
Diffstat (limited to 'Xamarin.Forms.Platform.iOS')
-rw-r--r--Xamarin.Forms.Platform.iOS/Renderers/FrameRenderer.cs6
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 3914cf3..52764b9 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();
}