Browse Source

removed event. events are used for messaging between modules.

flowchartTest
Alex de Mulder 9 years ago
parent
commit
57d15b6ea9
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      lib/network/modules/View.js

+ 0
- 1
lib/network/modules/View.js View File

@ -26,7 +26,6 @@ class View {
this.viewFunction = undefined; this.viewFunction = undefined;
this.body.emitter.on("zoomExtent", this.zoomExtent.bind(this)); this.body.emitter.on("zoomExtent", this.zoomExtent.bind(this));
this.body.emitter.on("zoomExtentInstantly", this.zoomExtent.bind(this,{duration:0}));
this.body.emitter.on("_setScale", (scale) => this.scale = scale); this.body.emitter.on("_setScale", (scale) => this.scale = scale);
this.body.emitter.on("_setTranslation", (translation) => {this.translation.x = translation.x; this.translation.y = translation.y;}); this.body.emitter.on("_setTranslation", (translation) => {this.translation.x = translation.x; this.translation.y = translation.y;});
this.body.emitter.on("animationFinished", () => {this.body.emitter.emit("_stopRendering");}); this.body.emitter.on("animationFinished", () => {this.body.emitter.emit("_stopRendering");});

Loading…
Cancel
Save