We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a276b61 commit 439caceCopy full SHA for 439cace
1 file changed
public/modules/ui/heightmap-editor.js
@@ -3,6 +3,7 @@
3
function editHeightmap(options) {
4
const {mode, tool} = options || {};
5
restartHistory();
6
+ viewbox.selectAll("#heights").remove();
7
viewbox.insert("g", "#terrs").attr("id", "heights");
8
9
if (!mode) showModeDialog();
@@ -188,7 +189,8 @@ function editHeightmap(options) {
188
189
190
// restore initial layers
191
drawFeatures();
- byId("heights").remove();
192
193
+
194
turnButtonOff("toggleHeight");
195
document
196
.getElementById("mapLayers")
0 commit comments