Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
15
libs/drape_frontend/animation_utils.cpp
Normal file
15
libs/drape_frontend/animation_utils.cpp
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#include "drape_frontend/animation_utils.hpp"
|
||||
#include "drape_frontend/animation_constants.hpp"
|
||||
#include "drape_frontend/visual_params.hpp"
|
||||
|
||||
#include "indexer/scales.hpp"
|
||||
|
||||
namespace df
|
||||
{
|
||||
|
||||
bool IsAnimationAllowed(double duration, ScreenBase const & screen)
|
||||
{
|
||||
return duration > 0.0 && duration <= kMaxAnimationTimeSec;
|
||||
}
|
||||
|
||||
} // namespace df
|
||||
Loading…
Add table
Add a link
Reference in a new issue