fix: old copyFrom

This commit is contained in:
cha0s 2019-04-24 03:28:15 -05:00
parent 3dc6596483
commit e52139001a

View File

@ -38,11 +38,6 @@ class DamageTextNode extends TextNode {
return className; return className;
} }
copyFrom(other) {
super.copyFrom(other);
this.span.style.fontSize = other.span.style.fontSize;
this.span.className = other.span.className;
}
} }
export class DamageEmitter { export class DamageEmitter {
@ -78,7 +73,7 @@ export class DamageEmitter {
]; ];
// Heh, bugs. // Heh, bugs.
const rot = new Proton.Rotate(0, 0, 0); const rot = new Proton.Rotate(0, 0, 0);
rot.a = new Proton.Span(-.05, .05); rot.a = new Proton.Span(-.008, .008);
const behaviors = [ const behaviors = [
new Proton.Alpha(1, .25), new Proton.Alpha(1, .25),
new Proton.Scale(.8, 1.2), new Proton.Scale(.8, 1.2),