mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 23:14:47 +02:00
Remove radial menu at old position when resetting surface transform
This commit is contained in:
@@ -190,6 +190,8 @@ iD.Map = function(context) {
|
||||
|
||||
function resetTransform() {
|
||||
if (!transformed) return false;
|
||||
|
||||
surface.selectAll('.radial-menu').interrupt().remove();
|
||||
iD.util.setTransform(supersurface, 0, 0);
|
||||
transformed = false;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user