Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[qt] Un-deprecate QMapboxGL::setTransitionOptions
Browse files Browse the repository at this point in the history
It's still relevant for runtime-styling driven paint property changes.
  • Loading branch information
jfirebaugh committed May 15, 2017
1 parent d0ed7f6 commit 918f2e1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions platform/qt/src/qmapboxgl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -742,11 +742,8 @@ void QMapboxGL::setGestureInProgress(bool progress)
}

/*!
Sets the \a duration and \a delay of style class transitions. Style property
values transition to new values with animation when a new class is set.
\deprecated
\sa addClass()
Sets the \a duration and \a delay of style transitions. Style paint property
values transition to new values with animation when they are updated.
*/
void QMapboxGL::setTransitionOptions(qint64 duration, qint64 delay) {
static auto convert = [](qint64 value) -> mbgl::optional<mbgl::Duration> {
Expand Down

0 comments on commit 918f2e1

Please sign in to comment.