mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 13:38:26 +02:00
Force redraw of measurement box when switching between imperial/metric
This commit is contained in:
@@ -192,6 +192,7 @@ export function uiInfoMeasurement(context) {
|
||||
.on('click', function() {
|
||||
d3.event.preventDefault();
|
||||
isImperial = !isImperial;
|
||||
lastLength = null; // force redraw
|
||||
selection.call(redraw);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user