28c816990a
Every screen positioned its child widgets with setPos(getX() + offset, getY() + offset) under the assumption that FTB Library uses absolute screen coordinates. It uses PARENT-RELATIVE coordinates — the panel's own position is added back at render time — so all widgets rendered at panel-position * 2 + offset, shoving them off the right edge. Fix: drop the getX()/getY() from every setPos. Now using plain parent-relative offsets, which is what FTB Library docs + FTB Quests/ Chunks source actually do. Affects: HubScreen, TierUpgradeScreen, BountyBoardScreen, PlotPurchaseScreen, ShopBrowserScreen, QuestLogScreen. Also fixed BaseBnsScreen.contentTop()/contentBottom() to return relative offsets. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
110 KiB
110 KiB