mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 10:31:24 +01:00
ruler style polyline color added
This commit is contained in:
parent
8b4dcec79d
commit
f50b077f84
6 changed files with 93 additions and 93 deletions
|
|
@ -74,9 +74,9 @@ function prepareMapData() {
|
|||
const biomes = [biomesData.color, biomesData.habitability, biomesData.name].join("|");
|
||||
const notesData = JSON.stringify(notes);
|
||||
const rulerPreferences = JSON.stringify({
|
||||
initialX: localStorage.getItem("rulerInitialX") || "50",
|
||||
initialY: localStorage.getItem("rulerInitialY") || "50",
|
||||
initialLength: localStorage.getItem("rulerInitialLength") || "100"
|
||||
initialLength: localStorage.getItem("rulerInitialLength") || "100",
|
||||
whiteColor: localStorage.getItem("rulerWhiteLineColor") || "#ffffff",
|
||||
grayColor: localStorage.getItem("rulerGrayLineColor") || "#808080",
|
||||
});
|
||||
const rulersString = rulers.toString();
|
||||
const fonts = JSON.stringify(getUsedFonts(svg.node()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue