Force redraw of measurement box when switching between imperial/metric

This commit is contained in:
Bryan Housel
2017-06-27 14:09:19 -04:00
parent 01fe0db42a
commit 07190958a5
+1
View File
@@ -192,6 +192,7 @@ export function uiInfoMeasurement(context) {
.on('click', function() {
d3.event.preventDefault();
isImperial = !isImperial;
lastLength = null; // force redraw
selection.call(redraw);
});