Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reducing the size of the culture center circle #855

Merged
merged 2 commits into from
Aug 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions modules/dynamic/editors/cultures-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ const cultureHighlightOn = debounce(event => {
.select("#cultureCenter" + cultureId)
.raise()
.transition(animate)
.attr("r", 8)
.attr("r", 3)
.attr("stroke", "#d0240f");
}, 200);

Expand All @@ -326,7 +326,7 @@ function cultureHighlightOff(event) {
debug
.select("#cultureCenter" + cultureId)
.transition()
.attr("r", 6)
.attr("r", 2)
.attr("stroke", null);
}

Expand Down Expand Up @@ -557,7 +557,7 @@ function drawCultureCenters() {
const cultureCenters = debug
.append("g")
.attr("id", "cultureCenters")
.attr("stroke-width", 2)
.attr("stroke-width", 0.8)
.attr("stroke", "#444444")
.style("cursor", "move");

Expand All @@ -569,7 +569,7 @@ function drawCultureCenters() {
.append("circle")
.attr("id", d => "cultureCenter" + d.i)
.attr("data-id", d => d.i)
.attr("r", 6)
.attr("r", 2)
.attr("fill", d => d.color)
.attr("cx", d => pack.cells.p[d.center][0])
.attr("cy", d => pack.cells.p[d.center][1])
Expand Down