Skip to content

Commit

Permalink
fix(CanvasView): Fix delete order
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Aug 30, 2019
1 parent 2ac9989 commit 78bcae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Rendering/Misc/CanvasView/index.js
Expand Up @@ -117,7 +117,7 @@ function vtkCanvasView(publicAPI, model) {
return true;
};

publicAPI.delete = macro.chain(publicAPI.delete, publicAPI.setViewStream);
publicAPI.delete = macro.chain(publicAPI.setViewStream, publicAPI.delete);

// --------------------------------------------------------------------------
// Make us look like a View (i.e.: vtkOpenGLRenderWindow)
Expand Down

0 comments on commit 78bcae0

Please sign in to comment.