This fix closes the topic creation spinner when the map is panned. (Since, sometimes a click turns into a really small pan) (#828)

This commit is contained in:
Robert Best 2016-10-24 11:48:34 -04:00 committed by GitHub
parent ce1205f6d7
commit 0b6348e13f

View file

@ -1069,6 +1069,9 @@ const JIT = {
Control.deselectAllEdges()
Control.deselectAllNodes()
}
} else {
// SINGLE CLICK, resulting from pan
Create.newTopic.hide()
}
}, // canvasClickHandler
updateTopicPositions: function (node, pos){