plots: use new arg syntax for sync handler
This commit is contained in:
parent
5ff3e37d30
commit
cf9217718b
1 changed files with 2 additions and 2 deletions
|
|
@ -39,8 +39,8 @@ _plots_base.prototype.syncHandleProxy = function() {
|
|||
this.syncHandle.apply(this,arguments)
|
||||
}
|
||||
|
||||
_plots_base.prototype.syncHandle = function(e,id,w) {
|
||||
if (this.linkedWidgets.indexOf(id)==-1 || !WIDGETS[id]) return
|
||||
_plots_base.prototype.syncHandle = function(e) {
|
||||
if (this.linkedWidgets.indexOf(e.id)==-1 || !WIDGETS[e.id]) return
|
||||
this.updateData()
|
||||
requestAnimationFrame(this.draw.bind(this))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue