ModuleList: Fix massive bug with hud components inside dropdowns

This commit is contained in:
noil 2021-10-24 18:52:59 -04:00
parent 8779773812
commit 6e8cf791ee
1 changed files with 6 additions and 1 deletions

View File

@ -682,8 +682,13 @@ public final class ModuleListComponent extends ResizableHudComponent {
}
}
if (skipRendering)
if (skipRendering) {
component.setX(0);
component.setY(0);
component.setW(0);
component.setH(0);
continue;
}
component.setX(this.getX() + 1 + offsetX);
component.setY(this.getY() + offsetY);