Skip to content

Commit

Permalink
Merge pull request #618 from AnalyticalGraphicsInc/resize-race
Browse files Browse the repository at this point in the history
Possible fix for Sandcastle resize race.
  • Loading branch information
mramato committed Apr 4, 2013
2 parents 1c3c8aa + 089727b commit 9320234
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/Widgets/CesiumWidget/CesiumWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit 9320234

Please sign in to comment.