fix: node copy
This commit is contained in:
parent
38141cdf85
commit
934b503e7c
|
@ -28,6 +28,11 @@ class DamageTextNode extends TextNode {
|
|||
}
|
||||
}
|
||||
|
||||
copyFrom(other) {
|
||||
super.copyFrom(other);
|
||||
this.span.style = other.span.style;
|
||||
this.span.className = other.span.className;
|
||||
}
|
||||
}
|
||||
|
||||
export class DamageEmitter {
|
||||
|
|
Loading…
Reference in New Issue
Block a user