fix: old copyFrom
This commit is contained in:
parent
3dc6596483
commit
e52139001a
|
@ -38,11 +38,6 @@ class DamageTextNode extends TextNode {
|
|||
return className;
|
||||
}
|
||||
|
||||
copyFrom(other) {
|
||||
super.copyFrom(other);
|
||||
this.span.style.fontSize = other.span.style.fontSize;
|
||||
this.span.className = other.span.className;
|
||||
}
|
||||
}
|
||||
|
||||
export class DamageEmitter {
|
||||
|
@ -78,7 +73,7 @@ export class DamageEmitter {
|
|||
];
|
||||
// Heh, bugs.
|
||||
const rot = new Proton.Rotate(0, 0, 0);
|
||||
rot.a = new Proton.Span(-.05, .05);
|
||||
rot.a = new Proton.Span(-.008, .008);
|
||||
const behaviors = [
|
||||
new Proton.Alpha(1, .25),
|
||||
new Proton.Scale(.8, 1.2),
|
||||
|
|
Loading…
Reference in New Issue
Block a user