Files
comaps/libs/drape_frontend/animation_utils.cpp
Konstantin Pastbin bfffa1fff4 Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-08-17 14:32:37 +07:00

16 lines
341 B
C++

#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