Cleanup line drawing code with selected sort

This commit is contained in:
Bryan Housel
2017-03-21 12:42:46 -04:00
parent 062824970b
commit 85ed3cc2d3
2 changed files with 51 additions and 81 deletions
+2 -2
View File
@@ -477,8 +477,8 @@ export function modeSelect(context, selectedIDs) {
var loc = extent.center();
context.map().centerEase(loc);
} else {
context.map().pan([0,0]);
} else if (singular() && singular().type === 'way') {
context.map().pan([0,0]); // full redraw, to adjust z-sorting #2914
}
timeout = window.setTimeout(function() {