summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs
index 9c84b62..68c7fbc 100644
--- a/Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs
+++ b/Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs
@@ -208,12 +208,10 @@ namespace Xamarin.Forms.Platform.Android
if (cornerRadius == -1f)
cornerRadius = 5f; // default corner radius
- else
- cornerRadius = Forms.Context.ToPixels(cornerRadius);
DrawBackground(canvas, width, height, cornerRadius, pressed);
DrawOutline(canvas, width, height, cornerRadius);
}
}
}
-} \ No newline at end of file
+}