From 089727b111eb149c4fdbf35d56487c229976c083 Mon Sep 17 00:00:00 2001 From: Ed Mackey Date: Thu, 4 Apr 2013 14:44:49 -0400 Subject: [PATCH] Possible fix for Sandcastle resize race. --- Source/Widgets/CesiumWidget/CesiumWidget.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Widgets/CesiumWidget/CesiumWidget.js b/Source/Widgets/CesiumWidget/CesiumWidget.js index cbc0a71d57e2..3a0bdcf31ec9 100644 --- a/Source/Widgets/CesiumWidget/CesiumWidget.js +++ b/Source/Widgets/CesiumWidget/CesiumWidget.js @@ -201,8 +201,7 @@ define(['../../Core/buildModuleUrl', var widget = this; //Subscribe for resize events and set the initial size. - this._needResize = false; - this.resize(); + this._needResize = true; this._resizeCallback = function() { widget._needResize = true; };