Skip to content

Commit

Permalink
fix final resize when first rendering everything. Timing was off.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdotyone committed Nov 13, 2011
1 parent a12cd09 commit 7ba3750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Controls/desktop/desktop.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ MUI.Desktop = new NamedClass('MUI.Desktop', {
if (div.getParent() == null) div.inject(container);

if (this.taskbar) this.taskbar.draw();
this.setDesktopSize.delay(100, this); // resize the desktop
this._onBrowserResize.delay(400, this); // resize the desktop

window.addEvent('resize', function(){ // capture browser resize events
this._onBrowserResize();
Expand Down

0 comments on commit 7ba3750

Please sign in to comment.