Event handlers redraw all mount points. Fix #1146
This commit is contained in:
parent
7a5978df59
commit
e0a0e97ada
1 changed files with 1 additions and 1 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