Merge "Add async calls to center reply dialog"

This commit is contained in:
Becky Siegel 2017-04-26 07:52:36 +00:00 committed by Gerrit Code Review
commit 2f71667f9e

View File

@ -529,6 +529,9 @@
if (this.viewState.showReplyDialog) {
this._openReplyDialog();
// TODO(kaspern@): Find a better signal for when to call center.
this.async(function() { this.$.replyOverlay.center(); }, 100);
this.async(function() { this.$.replyOverlay.center(); }, 1000);
this.set('viewState.showReplyDialog', false);
}
}.bind(this));