From 4196b9e50b5db3c78e9f04fcfb5feedbc834ce17 Mon Sep 17 00:00:00 2001 From: vakrilov Date: Wed, 15 Mar 2017 13:49:30 +0200 Subject: [PATCH] Apply clip when there are any borders in ios --- tns-core-modules/ui/core/view/view.ios.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tns-core-modules/ui/core/view/view.ios.ts b/tns-core-modules/ui/core/view/view.ios.ts index c26833e23..e4170177d 100644 --- a/tns-core-modules/ui/core/view/view.ios.ts +++ b/tns-core-modules/ui/core/view/view.ios.ts @@ -414,7 +414,7 @@ export class View extends ViewCommon { _setNativeClipToBounds() { let backgroundInternal = this.style.backgroundInternal; - this.nativeView.clipsToBounds = backgroundInternal.hasUniformBorder() || backgroundInternal.getUniformBorderRadius() > 0; + this.nativeView.clipsToBounds = backgroundInternal.hasBorderWidth() || backgroundInternal.hasBorderRadius(); } }