Skip to content

Commit 49244bd

Browse files
Merge pull request #901 from sketch-hq/feature/45792
Code Review: API: Issue with overrides in plugin in Sketch 90+ (#45792)
2 parents 0dc688a + e27abe8 commit 49244bd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Source/dom/layers/Layer.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ export class Layer extends WrappedObject {
2323
if (object.parentGroup()) {
2424
object.parentGroup().insertLayers_afterLayer([duplicate], object)
2525
}
26+
if (this.type === 'SymbolInstance') {
27+
duplicate.ensureDetachHasUpdated()
28+
}
2629
return wrapNativeObject(duplicate)
2730
}
2831

0 commit comments

Comments
 (0)