feat: migrate ice data to new data model and update version to 1.110.0

This commit is contained in:
StempunkDev 2026-01-12 21:52:01 +01:00
parent 7f99323d22
commit b1a8c042e6
3 changed files with 75 additions and 8 deletions

View file

@ -14,6 +14,7 @@ function drawIce() {
.attr("points", glacier.points)
.attr("type", "iceShield")
.attr("data-index", index)
.attr("transform", glacier.offset ? `translate(${glacier.offset[0]},${glacier.offset[1]})` : null)
.attr("class", "glacier");
});
@ -25,6 +26,7 @@ function drawIce() {
.attr("cell", iceberg.cellId)
.attr("size", iceberg.size)
.attr("data-index", index)
.attr("transform", iceberg.offset ? `translate(${iceberg.offset[0]},${iceberg.offset[1]})` : null)
.attr("class", "iceberg");
});