Skip to content

Commit

Permalink
Copy intermediate layer location directly from parent (#976)
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens authored Jan 31, 2024
1 parent d345113 commit ce69aad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def ensure_component_has_sparse_layer(font, component, parent_layer):
parent_layer.name,
)
layer = GSLayer()
layer.attributes["coordinates"] = location
layer.attributes["coordinates"] = parent_layer.attributes["coordinates"]
layer.layerId = str(uuid.uuid4())
layer.associatedMasterId = parent_layer.associatedMasterId
layer.name = parent_layer.name
Expand Down

0 comments on commit ce69aad

Please sign in to comment.