#49 fix cluster box update

This commit is contained in:
Henning Jacobs
2017-01-03 16:55:30 +01:00
parent bd353b23ef
commit be0e66d9b8

View File

@@ -308,6 +308,8 @@ export default class App {
if (!clusterBox) { if (!clusterBox) {
clusterBox = new Cluster(cluster, this.tooltip) clusterBox = new Cluster(cluster, this.tooltip)
this.viewContainer.addChild(clusterBox) this.viewContainer.addChild(clusterBox)
} else {
clusterBox.cluster = cluster
} }
clusterBox.draw() clusterBox.draw()
clusterBox.x = 0 clusterBox.x = 0