fix: node copy

This commit is contained in:
cha0s 2019-04-22 21:02:17 -05:00
parent 38141cdf85
commit 934b503e7c

View File

@ -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 {