Merge remote-tracking branch 'origin/rewrite' into rewrite
This commit is contained in:
commit
e4a16d3bf4
5 changed files with 187 additions and 142 deletions
|
|
@ -6,7 +6,7 @@ module.exports = function(root, renderer, pubsub, callback) {
|
|||
var run = throttle(callback)
|
||||
if (renderer != null) {
|
||||
renderer.setEventCallback(function(e) {
|
||||
if (e.redraw !== false) run()
|
||||
if (e.redraw !== false) pubsub.publish()
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue