mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +01:00
Merge economics with current
This commit is contained in:
parent
f17bc1e3af
commit
c24a786519
6 changed files with 228 additions and 3 deletions
|
|
@ -270,6 +270,13 @@ function selectStyleElement() {
|
|||
styleResourcesCircle.checked = +el.attr('data-circle');
|
||||
}
|
||||
|
||||
if (sel === 'goods') {
|
||||
styleStrokeWidth.style.display = 'block';
|
||||
styleStrokeWidthInput.value = styleStrokeWidthOutput.value = el.attr('stroke-width') || '';
|
||||
styleResources.style.display = 'block';
|
||||
styleResourcesCircle.checked = +el.attr('data-circle');
|
||||
}
|
||||
|
||||
// update group options
|
||||
styleGroupSelect.options.length = 0; // remove all options
|
||||
if (['routes', 'labels', 'coastline', 'lakes', 'anchors', 'burgIcons', 'borders'].includes(sel)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue