[core] Eliminate use of ClassProperties for layout
This commit is contained in:
@@ -31,8 +31,7 @@ void ShapeAnnotationImpl::updateStyle(Style& style) {
|
||||
|
||||
std::unique_ptr<LineLayer> layer = std::make_unique<LineLayer>();
|
||||
layer->type = StyleLayerType::Line;
|
||||
|
||||
layer->layout.set(PropertyKey::LineJoin, Function<JoinType>(JoinType::Round));
|
||||
layer->layout.join = JoinType::Round;
|
||||
|
||||
const LinePaintProperties& properties = shape.properties.get<LinePaintProperties>();
|
||||
ClassProperties paintProperties;
|
||||
|
||||
Reference in New Issue
Block a user