diff options
Diffstat (limited to 'src/mbgl/style/layers/background_layer_properties.hpp')
-rw-r--r-- | src/mbgl/style/layers/background_layer_properties.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mbgl/style/layers/background_layer_properties.hpp b/src/mbgl/style/layers/background_layer_properties.hpp index 3765e2e569..371e8639f1 100644 --- a/src/mbgl/style/layers/background_layer_properties.hpp +++ b/src/mbgl/style/layers/background_layer_properties.hpp @@ -18,18 +18,18 @@ struct BackgroundColor : PaintProperty<Color> { static Color defaultValue() { return Color::black(); } }; -struct BackgroundPattern : CrossFadedPaintProperty<std::string> { - static std::string defaultValue() { return ""; } -}; - struct BackgroundOpacity : PaintProperty<float> { static float defaultValue() { return 1; } }; +struct BackgroundPattern : CrossFadedPaintProperty<std::string> { + static std::string defaultValue() { return ""; } +}; + class BackgroundPaintProperties : public Properties< BackgroundColor, - BackgroundPattern, - BackgroundOpacity + BackgroundOpacity, + BackgroundPattern > {}; class BackgroundLayerProperties final : public LayerProperties { |