mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: until it is the official core i need to do it this way
This commit is contained in:
@@ -9,8 +9,9 @@ export class LayoutBase extends LayoutBaseCommon {
|
||||
return true;
|
||||
}
|
||||
[clipToBoundsProperty.setNative](value: boolean) {
|
||||
(<any>this.nativeViewProtected).setClipToBounds(value);
|
||||
|
||||
if ((<any>this.nativeViewProtected).setClipToBounds) {
|
||||
(<any>this.nativeViewProtected).setClipToBounds(value);
|
||||
}
|
||||
}
|
||||
|
||||
[isPassThroughParentEnabledProperty.setNative](value: boolean) {
|
||||
|
||||
Reference in New Issue
Block a user