(value18, dim)
| 149251 | } |
| 149252 | function autoLayout(_, orient, encode, userEncode) { |
| 149253 | const auto = (value18, dim)=>value18 != null ? (encode.update[dim] = patch(encoder(value18), encode.update[dim]), false) : !has(dim, userEncode) ? true : false; |
| 149254 | const autoY = auto(_("titleX"), "x"), autoX = auto(_("titleY"), "y"); |
| 149255 | encode.enter.auto = autoX === autoY ? encoder(autoX) : ifX(orient, encoder(autoX), encoder(autoY)); |
| 149256 | } |
no test coverage detected