summaryrefslogtreecommitdiff
path: root/src/util/raster.cpp
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2014-05-22 12:46:53 -0700
committerJustin R. Miller <incanus@codesorcery.net>2014-05-22 12:46:53 -0700
commitaa92e92595c385c5d7dcc88a361213818d715e73 (patch)
treed31f57debbe5495bc23ec5ca253fbe953acdd896 /src/util/raster.cpp
parentcbe84299ed1a3e52483c38ef279f6bf29d65e476 (diff)
downloadqtlocation-mapboxgl-aa92e92595c385c5d7dcc88a361213818d715e73.tar.gz
support for style transitions
Diffstat (limited to 'src/util/raster.cpp')
-rw-r--r--src/util/raster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/raster.cpp b/src/util/raster.cpp
index 4f26f8b558..e08145231f 100644
--- a/src/util/raster.cpp
+++ b/src/util/raster.cpp
@@ -70,7 +70,7 @@ void Raster::bind(bool linear) {
void Raster::beginFadeInTransition() {
time start = util::now();
- fade_transition = std::make_shared<util::ease_transition>(opacity, 1.0, opacity, start, 250_milliseconds);
+ fade_transition = std::make_shared<util::ease_transition<double>>(opacity, 1.0, opacity, start, 250_milliseconds);
}
bool Raster::needsTransition() const {