Skip to content

Commit

Permalink
Pass view loader to scenegraph handler. (#1171)
Browse files Browse the repository at this point in the history
  • Loading branch information
jheer committed Dec 9, 2018
1 parent cefd346 commit 915e0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vega-view/src/initialize-handler.js
@@ -1,7 +1,7 @@
import {offset} from './render-size';

export default function(view, prevHandler, el, constructor) {
var handler = new constructor()
var handler = new constructor(view.loader())
.scene(view.scenegraph().root)
.initialize(el, offset(view), view);

Expand Down

0 comments on commit 915e0d9

Please sign in to comment.