Merge economics with current

This commit is contained in:
Peter 2022-11-23 22:08:41 -05:00
parent f17bc1e3af
commit c24a786519
6 changed files with 228 additions and 3 deletions

View file

@ -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)) {