Increasing the size of the cultural centers

This commit is contained in:
Schizoid Nightmares 2022-08-16 17:54:03 -04:00 committed by GitHub
parent 5c5c83a65d
commit 45afa527ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -310,7 +310,7 @@ const cultureHighlightOn = debounce(event => {
.select("#cultureCenter" + cultureId) .select("#cultureCenter" + cultureId)
.raise() .raise()
.transition(animate) .transition(animate)
.attr("r", 2) .attr("r", 3)
.attr("stroke", "#d0240f"); .attr("stroke", "#d0240f");
}, 200); }, 200);
@ -326,7 +326,7 @@ function cultureHighlightOff(event) {
debug debug
.select("#cultureCenter" + cultureId) .select("#cultureCenter" + cultureId)
.transition() .transition()
.attr("r", 1) .attr("r", 2)
.attr("stroke", null); .attr("stroke", null);
} }
@ -557,7 +557,7 @@ function drawCultureCenters() {
const cultureCenters = debug const cultureCenters = debug
.append("g") .append("g")
.attr("id", "cultureCenters") .attr("id", "cultureCenters")
.attr("stroke-width", 0.5) .attr("stroke-width", 0.8)
.attr("stroke", "#444444") .attr("stroke", "#444444")
.style("cursor", "move"); .style("cursor", "move");
@ -569,7 +569,7 @@ function drawCultureCenters() {
.append("circle") .append("circle")
.attr("id", d => "cultureCenter" + d.i) .attr("id", d => "cultureCenter" + d.i)
.attr("data-id", d => d.i) .attr("data-id", d => d.i)
.attr("r", 1) .attr("r", 2)
.attr("fill", d => d.color) .attr("fill", d => d.color)
.attr("cx", d => pack.cells.p[d.center][0]) .attr("cx", d => pack.cells.p[d.center][0])
.attr("cy", d => pack.cells.p[d.center][1]) .attr("cy", d => pack.cells.p[d.center][1])