summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/line_layer_properties.hpp
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-07-12 19:01:29 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-07-13 11:57:09 +0300
commit174d367699ad647cba46b8e521f25b436c33fee2 (patch)
tree7585ae05b2be0326225af66f5ff91013d6a01ac7 /src/mbgl/style/layers/line_layer_properties.hpp
parent06af750d236861e32d047f8cfdb0b766bd174f67 (diff)
downloadqtlocation-mapboxgl-174d367699ad647cba46b8e521f25b436c33fee2.tar.gz
[core] Prefer color aliases for default property values
Diffstat (limited to 'src/mbgl/style/layers/line_layer_properties.hpp')
-rw-r--r--src/mbgl/style/layers/line_layer_properties.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/layers/line_layer_properties.hpp b/src/mbgl/style/layers/line_layer_properties.hpp
index e7dbddf442..b73e3f2ef2 100644
--- a/src/mbgl/style/layers/line_layer_properties.hpp
+++ b/src/mbgl/style/layers/line_layer_properties.hpp
@@ -28,7 +28,7 @@ public:
bool recalculate(const CalculationParameters&);
PaintProperty<float> lineOpacity { 1 };
- PaintProperty<Color> lineColor { { 0, 0, 0, 1 } };
+ PaintProperty<Color> lineColor { Color::black() };
PaintProperty<std::array<float, 2>> lineTranslate { {{ 0, 0 }} };
PaintProperty<TranslateAnchorType> lineTranslateAnchor { TranslateAnchorType::Map };
PaintProperty<float> lineWidth { 1 };