mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.6.11 - fix saving issues
This commit is contained in:
parent
8767893d72
commit
69c44317e3
4 changed files with 10 additions and 15 deletions
|
|
@ -138,10 +138,10 @@ function showMapTooltip(point, e, i, g) {
|
|||
if (group === "labels") {tip("Click to edit the Label"); return;}
|
||||
if (group === "markers") {tip("Click to edit the Marker"); return;}
|
||||
if (group === "ruler") {
|
||||
if (tag === "rect") {tip("Drag to split the ruler into 2 parts"); return;}
|
||||
if (tag === "circle") {tip("Drag to adjust the measurer"); return;}
|
||||
if (tag === "path" || tag === "line") {tip("Drag to move the measurer"); return;}
|
||||
if (tag === "text") {tip("Click to remove the measurer"); return;}
|
||||
if (tag === "path") {tip("Drag to move the measurer"); return;}
|
||||
if (tag === "polyline") {tip("Drag to add a control point"); return;}
|
||||
if (tag === "text") {tip("Drag to move, click to remove the measurer"); return;}
|
||||
}
|
||||
if (subgroup === "burgIcons") {tip("Click to edit the Burg"); return;}
|
||||
if (subgroup === "burgLabels") {tip("Click to edit the Burg"); return;}
|
||||
|
|
|
|||
|
|
@ -235,6 +235,7 @@ function editUnits() {
|
|||
restoreDefaultEvents();
|
||||
clearMainTip();
|
||||
addOpisometer.classList.remove("pressed");
|
||||
if (opisometer.points.length < 2) rulers.remove(opisometer.id);
|
||||
if (!d3.event.sourceEvent.shiftKey) opisometer.optimize();
|
||||
});
|
||||
}));
|
||||
|
|
@ -264,7 +265,8 @@ function editUnits() {
|
|||
restoreDefaultEvents();
|
||||
clearMainTip();
|
||||
addPlanimeter.classList.remove("pressed");
|
||||
if (!d3.event.sourceEvent.shiftKey) planimeter.optimize();
|
||||
if (planimeter.points.length < 3) rulers.remove(planimeter.id);
|
||||
else if (!d3.event.sourceEvent.shiftKey) planimeter.optimize();
|
||||
});
|
||||
}));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue