|
|
|
@ -84,11 +84,11 @@ export default { |
|
|
|
methods[method](body, 'mouseover', this.onHover); |
|
|
|
methods[method](body, 'mouseleave', this.onOut); |
|
|
|
methods[method](body, 'click touchend', this.onClick); |
|
|
|
methods[method](win, 'scroll', this.onFrameScroll); |
|
|
|
methods[method](win, 'scroll', this.onFrameScroll, true); |
|
|
|
}; |
|
|
|
methods[method](window, 'resize', this.onFrameUpdated); |
|
|
|
methods[method](listenToEl, 'scroll', this.onContainerChange); |
|
|
|
em[method]('component:toggled component:remove', this.onSelect, this); |
|
|
|
em[method]('component:toggled component:update', this.onSelect, this); |
|
|
|
em[method]('change:componentHovered', this.onHovered, this); |
|
|
|
em[method]( |
|
|
|
'component:resize component:styleUpdate component:input', |
|
|
|
@ -576,7 +576,7 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
updateTools() { |
|
|
|
this.updateToolsLocal(); |
|
|
|
this.updateLocalPos(); |
|
|
|
this.updateGlobalPos(); |
|
|
|
}, |
|
|
|
|
|
|
|
|