#49 fix cluster box update
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user