Skip to content

Commit

Permalink
Make sure resize events are called when dialog's autoreize flag is on.
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-wu committed Jun 26, 2019
1 parent e0882e9 commit 129886c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "physiomeportal",
"version": "0.3.8alpha",
"version": "0.3.9alpha",
"description": "Physiome Portal",
"main": "build/physiomeportal.js",
"files": [
Expand Down
3 changes: 3 additions & 0 deletions src/ui/BaseDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,9 @@ BaseDialog.prototype.maximiseCallback = function(dialogInstance) {
dialogInstance.setPosition(0, 0);
dialogInstance.setWidth("100%");
dialogInstance.setHeight("100%");
for (var i = 0; i < dialogInstance.resizeStopCallbacks.length; i++) {
dialogInstance.resizeStopCallbacks[i]( dialogInstance );
}
}
}

Expand Down

0 comments on commit 129886c

Please sign in to comment.