[core] Revert line-round-limit default to 1 (#5260)

Refs #5258, #5234.
This commit is contained in:
John Firebaugh
2016-06-06 12:45:40 -07:00
parent 313d9ce09c
commit 47d6903f4e
2 changed files with 6 additions and 1 deletions

View File

@@ -46,6 +46,11 @@ global.propertyType = function (property) {
}
global.defaultValue = function (property) {
// https://github.com/mapbox/mapbox-gl-native/issues/5258
if (property.name === 'line-round-limit') {
return 1;
}
switch (property.type) {
case 'number':
return property.default;

View File

@@ -20,7 +20,7 @@ public:
LayoutProperty<LineCapType> lineCap { LineCapType::Butt };
LayoutProperty<LineJoinType> lineJoin { LineJoinType::Miter };
LayoutProperty<float> lineMiterLimit { 2 };
LayoutProperty<float> lineRoundLimit { 1.05 };
LayoutProperty<float> lineRoundLimit { 1 };
};
class LinePaintProperties {