mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-03-03 22:21:53 +07:00
Reduced collision height of health/mana widgets to the control widget height
This commit is contained in:
parent
58a17c394d
commit
3a2a18aaf0
@ -71,6 +71,8 @@ public class ControlPanel extends WidgetGroup implements Disposable {
|
||||
healthWidget = new HealthWidget(ctrlpnl.getTexture(0));
|
||||
manaWidget = new ManaWidget(ctrlpnl.getTexture(numFrames - 2));
|
||||
controlWidget = new ControlWidget(new Texture(new PixmapTextureData(pixmap, null, false, false, false)));
|
||||
healthWidget.setHeight(controlWidget.getHeight());
|
||||
manaWidget.setHeight(controlWidget.getHeight());
|
||||
|
||||
healthWidget.setX(0);
|
||||
healthWidget.setY(1);
|
||||
|
Loading…
Reference in New Issue
Block a user