v0.4.0: fixed emoicons rendering in the top-left on the first frame

This commit is contained in:
Evan Debenham 2016-06-15 14:59:04 -04:00 committed by Evan Debenham
parent 690904fc5b
commit 4d923e994d

View File

@ -78,6 +78,9 @@ public class EmoIcon extends Image {
origin.set( width / 2, height / 2 );
scale.set( Random.Float( 1, maxSize ) );
x = owner.x + owner.width - width / 2;
y = owner.y - height;
}
}
@ -94,6 +97,9 @@ public class EmoIcon extends Image {
origin.set( 2.5f, height - 2.5f );
scale.set( Random.Float( 1, maxSize ) );
x = owner.x + owner.width - width / 2;
y = owner.y - height;
}
}