map/graph: redraw on render

This commit is contained in:
Nils Schneider 2015-07-12 00:42:24 +02:00
parent a95f466f3f
commit eb8f1dd2a4
2 changed files with 3 additions and 0 deletions

View File

@ -705,6 +705,8 @@ define(["d3"], function (d3) {
self.render = function (d) {
d.appendChild(el)
resizeCanvas()
updateHighlight()
}
return self

View File

@ -441,6 +441,7 @@ define(["map/clientlayer", "map/labelslayer",
self.render = function (d) {
d.appendChild(el)
map.invalidateSize()
}
return self