v0.4.1: fixed alignment issue with depth display

This commit is contained in:
Evan Debenham 2016-07-23 05:24:45 -04:00 committed by Evan Debenham
parent 01f96f3ae0
commit 99babc1950

View File

@ -164,6 +164,7 @@ public class StatusPane extends Component {
depth.x = width - 35.5f - depth.width() / 2f; depth.x = width - 35.5f - depth.width() / 2f;
depth.y = 8f - depth.baseLine() / 2f; depth.y = 8f - depth.baseLine() / 2f;
PixelScene.align(depth);
danger.setPos( width - danger.width(), 20 ); danger.setPos( width - danger.width(), 20 );