chore(release): @nativescript/core@8.0.0

This commit is contained in:
Nathan Walker
2021-03-31 14:22:27 -07:00
parent b72c4a3237
commit 75b59ecdbf
6 changed files with 10 additions and 6 deletions

View File

@ -3,7 +3,7 @@
"main": "index",
"types": "index.d.ts",
"description": "NativeScript Core Modules",
"version": "8.0.0-alpha.9",
"version": "8.0.0",
"homepage": "https://nativescript.org",
"repository": {
"type": "git",

View File

@ -77,7 +77,7 @@ export function setTimeout(callback: Function, milliseconds = 0, ...args): numbe
export function clearTimeout(id: number): void {
const pair = timeoutCallbacks.get(<number>(<any>id));
if (pair) {
if (pair && pair.v) {
pair.v.unregister();
}
}

View File

@ -23,7 +23,6 @@ export class LayoutBase extends LayoutBaseCommon {
_setNativeClipToBounds() {
if (this.clipToBounds) {
// TODO: temporarily setting this to false as it crops the shadow
this.nativeViewProtected.clipsToBounds = true;
} else {
super._setNativeClipToBounds();