diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-03-07 18:34:45 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-03-29 16:18:41 +0200 |
commit | a6d8742e637a53eea90c2d0da049e684804928d3 (patch) | |
tree | 132a089ef42b4cc4e1b93b109b0a46850ddbde7e /scripts/generate-style-code.js | |
parent | 4adfc5d3237bbca5c07898104267b17309f24ff3 (diff) | |
download | qtlocation-mapboxgl-a6d8742e637a53eea90c2d0da049e684804928d3.tar.gz |
[core] Enable text-variable-anchor property
Diffstat (limited to 'scripts/generate-style-code.js')
-rwxr-xr-x | scripts/generate-style-code.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate-style-code.js b/scripts/generate-style-code.js index 72f4857a96..2622ae5ef6 100755 --- a/scripts/generate-style-code.js +++ b/scripts/generate-style-code.js @@ -72,7 +72,7 @@ global.evaluatedType = function (property) { if (property.length) { return `std::array<${evaluatedType({type: property.value})}, ${property.length}>`; } else { - return `std::vector<${evaluatedType({type: property.value})}>`; + return `std::vector<${evaluatedType({type: property.value, name: property.name})}>`; } default: throw new Error(`unknown type for ${property.name}`) } |