mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 02:21:24 +01:00
1.0.43
This commit is contained in:
parent
5eb24252e1
commit
be4caf0c24
5 changed files with 74 additions and 9 deletions
|
|
@ -174,7 +174,7 @@ function getHeight(h) {
|
|||
drawStates();
|
||||
drawBorders();
|
||||
BurgsAndStates.drawStateLabels();
|
||||
addZone();
|
||||
addZones();
|
||||
addMarkers();
|
||||
console.timeEnd("regenerateErasedData");
|
||||
console.groupEnd("Edit Heightmap");
|
||||
|
|
|
|||
|
|
@ -249,6 +249,7 @@ function addLabelOnClick() {
|
|||
const x = width / -2; // x offset;
|
||||
example.remove();
|
||||
|
||||
group.classed("hidden", false);
|
||||
group.append("text").attr("id", id)
|
||||
.append("textPath").attr("xlink:href", "#textPath_"+id).attr("startOffset", "50%").attr("font-size", "100%")
|
||||
.append("tspan").attr("x", x).text(name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue