diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-05-10 12:20:15 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-05-15 09:45:55 -0700 |
commit | e473f2dcceb31eda816ac9e6c972d7e0a8f1dceb (patch) | |
tree | a80415390c30f4e4efd47da25f6fee776730465d /src/mbgl/style/light.cpp.ejs | |
parent | da4d735e2c465195e0fb9531ce9d4d7c5c9e6503 (diff) | |
download | qtlocation-mapboxgl-e473f2dcceb31eda816ac9e6c972d7e0a8f1dceb.tar.gz |
[core] cascade ⇢ transition / cascading ⇢ transitionable
Diffstat (limited to 'src/mbgl/style/light.cpp.ejs')
-rw-r--r-- | src/mbgl/style/light.cpp.ejs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/style/light.cpp.ejs b/src/mbgl/style/light.cpp.ejs index e933e40b97..45241c60fd 100644 --- a/src/mbgl/style/light.cpp.ejs +++ b/src/mbgl/style/light.cpp.ejs @@ -43,15 +43,15 @@ void Light::set<%- camelize(property.name) %>(<%- propertyValueType(property) %> observer->onLightChanged(*this); } -void Light::set<%- camelize(property.name) %>Transition(const TransitionOptions& transition) { +void Light::set<%- camelize(property.name) %>Transition(const TransitionOptions& options) { auto impl_ = mutableImpl(); - impl_->properties.template get<Light<%- camelize(property.name) %>>().transition = transition; + impl_->properties.template get<Light<%- camelize(property.name) %>>().options = options; impl = std::move(impl_); observer->onLightChanged(*this); } TransitionOptions Light::get<%- camelize(property.name) %>Transition() const { - return impl->properties.template get<Light<%- camelize(property.name) %>>().transition; + return impl->properties.template get<Light<%- camelize(property.name) %>>().options; } <% } -%> |