v0.4.0: fixed emoicons rendering in the top-left on the first frame
This commit is contained in:
parent
690904fc5b
commit
4d923e994d
|
@ -78,6 +78,9 @@ public class EmoIcon extends Image {
|
||||||
|
|
||||||
origin.set( width / 2, height / 2 );
|
origin.set( width / 2, height / 2 );
|
||||||
scale.set( Random.Float( 1, maxSize ) );
|
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 );
|
origin.set( 2.5f, height - 2.5f );
|
||||||
scale.set( Random.Float( 1, maxSize ) );
|
scale.set( Random.Float( 1, maxSize ) );
|
||||||
|
|
||||||
|
x = owner.x + owner.width - width / 2;
|
||||||
|
y = owner.y - height;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user