v0.3.1d: removed strict pixel align pt.1

there is no need to enforce whole interger positions for UI elements. Especially with the recent font changes this was causing alignment problems on high resolution displays.
Elements with non-whole number sizes and positions should be used sparingly, but there's no reason to strictly align them.
This commit is contained in:
Evan Debenham
2015-09-10 19:29:25 -04:00
parent 515473e409
commit 0ba004b1fa
12 changed files with 24 additions and 38 deletions
@@ -49,8 +49,8 @@ public class ResumeIndicator extends Tag {
protected void layout() {
super.layout();
icon.x = PixelScene.align( PixelScene.uiCamera, x+1 + (width - icon.width) / 2 );
icon.y = PixelScene.align( PixelScene.uiCamera, y + (height - icon.height) / 2 );
icon.x = x+1 + (width - icon.width) / 2;
icon.y = y + (height - icon.height) / 2;
}
@Override