Merge remote-tracking branch 'origin/rewrite' into rewrite

This commit is contained in:
Leo Horie 2016-07-15 22:24:07 -04:00
commit e4a16d3bf4
5 changed files with 187 additions and 142 deletions

View file

@ -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()
})
}