Fix issue where following a node and then selecting another feature would auto-center the feature (close #7820)

This commit is contained in:
Quincy Morgan
2020-07-22 09:58:14 -04:00
parent 4643caaae8
commit 40e46aced1

View File

@@ -284,6 +284,8 @@ export function modeSelect(context, selectedIDs) {
var loc = extent.center();
context.map().centerEase(loc);
// we could enter the mode multiple times, so reset follow for next time
_follow = false;
}