pack: v0.39.1 — bnstoolkit 0.6.1 sub-panel sizing hotfix
Hub screen showed blank content area: title bar + 3 buttons rendered, but the status panel in between was empty. Same latent bug affected every screen with a sub-panel (Tier, Counting House, Bounty, Plot, Quest Log). Root cause: FTB Library's Panel.refreshWidgets order is addWidgets → recurse-into-child-panels.refreshWidgets → alignWidgets. So when the parent's alignWidgets sets a sub-panel's size, the sub-panel's children have already aligned themselves using the sub-panel's pre-size dimensions (0x0). Every Row got setSize(0, 12) → invisible. Fix: size sub-panels BEFORE add() in the parent's addWidgets so the recursive refreshWidgets sees correct dimensions. Parent's alignWidgets now only positions the top-level action buttons. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"$schema": "Brass-and-Sigil pack.lock.json - generated, do not edit by hand unless you know what you are doing",
|
||||
"name": "Brass and Sigil",
|
||||
"version": "0.39.0",
|
||||
"version": "0.39.1",
|
||||
"minecraft": "1.21.1",
|
||||
"loader": {
|
||||
"type": "neoforge",
|
||||
"version": "21.1.228"
|
||||
},
|
||||
"lockedAt": "2026-06-08T15:30:12Z",
|
||||
"lockedAt": "2026-06-08T15:50:51Z",
|
||||
"mods": [
|
||||
{
|
||||
"source": "modrinth",
|
||||
|
||||
Reference in New Issue
Block a user