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:
parent
ce1205f6d7
commit
0b6348e13f
1 changed files with 3 additions and 0 deletions
|
@ -1069,6 +1069,9 @@ const JIT = {
|
||||||
Control.deselectAllEdges()
|
Control.deselectAllEdges()
|
||||||
Control.deselectAllNodes()
|
Control.deselectAllNodes()
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
// SINGLE CLICK, resulting from pan
|
||||||
|
Create.newTopic.hide()
|
||||||
}
|
}
|
||||||
}, // canvasClickHandler
|
}, // canvasClickHandler
|
||||||
updateTopicPositions: function (node, pos){
|
updateTopicPositions: function (node, pos){
|
||||||
|
|
Loading…
Reference in a new issue