mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
fix: style update - get value from event
This commit is contained in:
parent
efbab14d11
commit
63496a651f
3 changed files with 6 additions and 6 deletions
|
|
@ -725,13 +725,13 @@ styleTemperatureFillInput.addEventListener("input", e => {
|
|||
});
|
||||
|
||||
stylePopulationRuralStrokeInput.addEventListener("input", e => {
|
||||
population.select("#rural").attr("stroke", this.value);
|
||||
stylePopulationRuralStrokeOutput.value = this.value;
|
||||
population.select("#rural").attr("stroke", e.target.value);
|
||||
stylePopulationRuralStrokeOutput.value = e.target.value;
|
||||
});
|
||||
|
||||
stylePopulationUrbanStrokeInput.addEventListener("input", e => {
|
||||
population.select("#urban").attr("stroke", this.value);
|
||||
stylePopulationUrbanStrokeOutput.value = this.value;
|
||||
population.select("#urban").attr("stroke", e.target.value);
|
||||
stylePopulationUrbanStrokeOutput.value = e.target.value;
|
||||
});
|
||||
|
||||
styleCompassSizeInput.addEventListener("input", shiftCompass);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue