[core] Default fade duration is now a constant

This commit is contained in:
Bruno de Oliveira Abinader
2016-03-06 21:23:12 +02:00
parent 8f96dea822
commit c6ba05bbc3
7 changed files with 10 additions and 33 deletions

View File

@@ -72,7 +72,7 @@ Painter::Painter(MapData& data_, TransformState& state_, gl::GLObjectStore& glOb
Painter::~Painter() = default;
bool Painter::needsAnimation() const {
return frameHistory.needsAnimation(data.getDefaultFadeDuration());
return frameHistory.needsAnimation(util::DEFAULT_FADE_DURATION);
}
void Painter::prepareTile(const Tile& tile) {