fix: cultures editor - don't overwrite border color on color change

This commit is contained in:
Azgaar 2023-12-05 02:45:55 +04:00
parent c758e19e90
commit 52e3088763
4 changed files with 4 additions and 7 deletions

View file

@ -341,10 +341,7 @@ function cultureChangeColor() {
const callback = newFill => {
$el.fill = newFill;
pack.cultures[cultureId].color = newFill;
cults
.select("#culture" + cultureId)
.attr("fill", newFill)
.attr("stroke", newFill);
cults.select("#culture" + cultureId).attr("fill", newFill);
debug.select("#cultureCenter" + cultureId).attr("fill", newFill);
};