mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
allow more states via number input
This commit is contained in:
parent
207b564180
commit
214bc7a40d
4 changed files with 5 additions and 5 deletions
|
|
@ -938,7 +938,7 @@ function applyDefaultStyle() {
|
|||
.attr("stroke-linecap", "round");
|
||||
legend.select("#legendBox").attr("fill", "#ffffff").attr("fill-opacity", 0.8);
|
||||
|
||||
const citiesSize = Math.max(rn(8 - regionsInput.value / 20), 3);
|
||||
const citiesSize = Math.max(rn(8 - regionsOutput.value / 20), 3);
|
||||
burgLabels
|
||||
.select("#cities")
|
||||
.attr("fill", "#3e3e4b")
|
||||
|
|
@ -979,7 +979,7 @@ function applyDefaultStyle() {
|
|||
.attr("stroke-linecap", "butt");
|
||||
anchors.select("#towns").attr("opacity", 1).attr("fill", "#ffffff").attr("stroke", "#3e3e4b").attr("stroke-width", 1.2).attr("size", 1);
|
||||
|
||||
const stateLabelSize = Math.max(rn(24 - regionsInput.value / 6), 6);
|
||||
const stateLabelSize = Math.max(rn(24 - regionsOutput.value / 6), 6);
|
||||
labels
|
||||
.select("#states")
|
||||
.attr("fill", "#3e3e4b")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue