diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-07-12 19:01:29 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-07-13 11:57:09 +0300 |
commit | 174d367699ad647cba46b8e521f25b436c33fee2 (patch) | |
tree | 7585ae05b2be0326225af66f5ff91013d6a01ac7 /src/mbgl/style/layers/fill_layer_properties.hpp | |
parent | 06af750d236861e32d047f8cfdb0b766bd174f67 (diff) | |
download | qtlocation-mapboxgl-174d367699ad647cba46b8e521f25b436c33fee2.tar.gz |
[core] Prefer color aliases for default property values
Diffstat (limited to 'src/mbgl/style/layers/fill_layer_properties.hpp')
-rw-r--r-- | src/mbgl/style/layers/fill_layer_properties.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/layers/fill_layer_properties.hpp b/src/mbgl/style/layers/fill_layer_properties.hpp index 225fec4f4b..d12eb8d6f4 100644 --- a/src/mbgl/style/layers/fill_layer_properties.hpp +++ b/src/mbgl/style/layers/fill_layer_properties.hpp @@ -19,7 +19,7 @@ public: PaintProperty<bool> fillAntialias { true }; PaintProperty<float> fillOpacity { 1 }; - PaintProperty<Color> fillColor { { 0, 0, 0, 1 } }; + PaintProperty<Color> fillColor { Color::black() }; PaintProperty<Color> fillOutlineColor { {} }; PaintProperty<std::array<float, 2>> fillTranslate { {{ 0, 0 }} }; PaintProperty<TranslateAnchorType> fillTranslateAnchor { TranslateAnchorType::Map }; |