namespace for submap ui.

This commit is contained in:
Mészáros Gergely 2022-04-19 11:00:43 +02:00
parent e85f5e39d6
commit 00a5938d6d

View file

@ -20,7 +20,6 @@ window.UISubmap = (function () {
$(this).dialog("close");
}
}
}
});
}
@ -39,17 +38,6 @@ function openRemapOptions() {
Cancel: function () {
$(this).dialog("close");
}
});
}
/* callbacks */
const resampleCurrentMap = debounce(function () {
// Resample the whole map to different cell resolution or shape
const cellNumId = Number(document.getElementById("submapPointsInput").value);
if (!cellsDensityConstants[cellNumId]) {
console.error("Unknown cell number!");
return;
}
});
}
@ -199,3 +187,6 @@ function showSubmapErrorHandler(error) {
position: {my: "center", at: "center", of: "svg"}
});
}
return {openSubmapOptions, openRemapOptions}
})();