Skip to content

Commit

Permalink
Fixes minimize restoration too
Browse files Browse the repository at this point in the history
  • Loading branch information
rlamana committed May 14, 2013
1 parent 42523a6 commit 4bb6bcb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions build/ventus.js
Original file line number Diff line number Diff line change
Expand Up @@ -965,11 +965,11 @@ function(Emitter, View, WindowTemplate) {

set minimized(value) {
if(value) {
this.stamp();
this.signals.emit('minimize', this);
this._restoreMinimized = this.stamp();
this.signals.emit('minimize', this, this._restoreMinimized);
}
else {
this.signals.emit('restore', this);
this.signals.emit('restore', this, this._restoreMinimized);
}

this._minimized = value;
Expand Down
Loading

0 comments on commit 4bb6bcb

Please sign in to comment.