From c980ee0479e597eb0aef9b1baf3367ba0ea060bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Marti=CC=81n=20Pithod?= Date: Mon, 29 Jan 2018 16:59:39 -0300 Subject: [PATCH] Added resize event to the toggleSelectComponent function. --- src/commands/view/SelectComponent.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/view/SelectComponent.js b/src/commands/view/SelectComponent.js index 90766c617..e26c495c7 100644 --- a/src/commands/view/SelectComponent.js +++ b/src/commands/view/SelectComponent.js @@ -54,6 +54,7 @@ module.exports = { methods[method](body, 'click', this.onClick); methods[method](win, 'scroll', this.onFrameScroll); methods[method](win, 'keydown', this.onKeyPress); + methods[method](win, 'resize', this.onFrameScroll); em[method]('change:selectedComponent', this.onSelect, this); },