[core] Simplify RenderLayer interface.
This commit is contained in:
@@ -32,6 +32,7 @@ RenderLineLayer::~RenderLineLayer() = default;
|
||||
|
||||
void RenderLineLayer::transition(const TransitionParameters& parameters) {
|
||||
unevaluated = impl(baseImpl).paint.transitioned(parameters, std::move(unevaluated));
|
||||
updateColorRamp();
|
||||
}
|
||||
|
||||
void RenderLineLayer::evaluate(const PropertyEvaluationParameters& parameters) {
|
||||
@@ -279,8 +280,4 @@ float RenderLineLayer::getLineWidth(const GeometryTileFeature& feature, const fl
|
||||
}
|
||||
}
|
||||
|
||||
void RenderLineLayer::update() {
|
||||
updateColorRamp();
|
||||
}
|
||||
|
||||
} // namespace mbgl
|
||||
|
||||
Reference in New Issue
Block a user