mirror of
https://github.com/seppukudevelopment/seppuku
synced 2024-12-26 08:32:06 +00:00
Fixed bug with ModuleListComponent initial position
This commit is contained in:
parent
b735d7d9e5
commit
5816825eea
@ -37,7 +37,6 @@ public final class ColorsComponent extends ResizableHudComponent {
|
||||
public ColorsComponent() {
|
||||
super("Colors", 100, 120);
|
||||
|
||||
this.setVisible(true);
|
||||
this.setSnappable(false);
|
||||
this.setW(120);
|
||||
this.setH(120);
|
||||
|
@ -59,6 +59,8 @@ public final class ModuleListComponent extends ResizableHudComponent {
|
||||
|
||||
this.setSnappable(false);
|
||||
this.setLocked(true);
|
||||
this.setX(20);
|
||||
this.setY(20);
|
||||
this.setW(100);
|
||||
this.setH(100);
|
||||
}
|
||||
|
@ -53,8 +53,8 @@ public final class HudManager {
|
||||
for (AnchorPoint anchorPoint : this.anchorPoints)
|
||||
anchorPoint.updatePosition(sr);
|
||||
|
||||
int moduleListXOffset = 20;
|
||||
int moduleListYOffset = 20;
|
||||
int moduleListXOffset = 0;
|
||||
int moduleListYOffset = 0;
|
||||
for (Module.ModuleType type : Module.ModuleType.values()) {
|
||||
if (type.equals(Module.ModuleType.HIDDEN) || type.equals(Module.ModuleType.UI))
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user