Make the waterway destination field separate from the road sign destination field (re: 7c5ec9be70)

Make the destination field for the destination_sign preset a semiCombo (re: #6970)
This commit is contained in:
Quincy Morgan
2020-06-24 16:31:28 -04:00
parent 748decd652
commit 5fbaad1088
8 changed files with 21 additions and 9 deletions
+2 -2
View File
@@ -351,7 +351,7 @@ export function uiFieldCombo(field, context) {
// Use a separate line for each value in the Destinations field
// to mimic highway exit signs
if (field.id === 'destination_oneway') {
if (field.key === 'destination') {
listClass += ' full-line-chips';
}
@@ -584,7 +584,7 @@ export function uiFieldCombo(field, context) {
var targetIndexOffsetTop = null;
var draggedTagWidth = d3_select(this).node().offsetWidth;
if (field.id === 'destination_oneway') { // meaning tags are full width
if (field.key === 'destination') { // meaning tags are full width
container.selectAll('.chip')
.style('transform', function(d2, index2) {
var node = d3_select(this).node();