From 460abb7c747208fd9ea158ea26b953aff16a9c80 Mon Sep 17 00:00:00 2001 From: vakrilov Date: Fri, 10 Jul 2015 11:52:30 +0300 Subject: [PATCH] Null check --- ui/styling/background-common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/styling/background-common.ts b/ui/styling/background-common.ts index 7521526b2..63c284e75 100644 --- a/ui/styling/background-common.ts +++ b/ui/styling/background-common.ts @@ -165,7 +165,7 @@ export class Background implements dts.Background { } public isEmpty(): boolean { - return types.isUndefined(this.image) && types.isUndefined(this.color); + return types.isNullOrUndefined(this.image) && types.isNullOrUndefined(this.color); } public static equals(value1: Background, value2: Background): boolean {