[core] Move layer specific color ramp updates behind common update() method

This commit is contained in:
Alexander Shalamov
2018-10-25 17:30:59 +03:00
parent f6ad5f378e
commit a7274f66d0
7 changed files with 26 additions and 12 deletions

View File

@@ -294,4 +294,8 @@ float RenderLineLayer::getLineWidth(const GeometryTileFeature& feature, const fl
}
void RenderLineLayer::update() {
updateColorRamp();
}
} // namespace mbgl