Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
improve 'maximize' slightly.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Apr 28, 2014
1 parent dd80685 commit 0a5679f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions elements/x-design-canvas/x-design-canvas.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@
r.style.position = 'absolute';
r.style.left = r.style.top = '0px';
r.style.height = r.style.width = '100%';
// fire a fake resize event so elements that listen to it
// can update their size
this.fire('resize', {}, window);
},

// events
Expand Down

0 comments on commit 0a5679f

Please sign in to comment.