Raise claim-reward plate depth above HUD overlays
- Bump CLAIM REWARD plate from depth 31 to 65 so it renders above compass arrows, toasts, deck blocks, and the sub-bar while still staying below modals (70) and full-screen consoles (80). - Update ship.mp4 asset.
This commit is contained in:
parent
36e36fb2d1
commit
91be23088c
Binary file not shown.
|
|
@ -806,7 +806,12 @@ export class QuestTrackerHud {
|
||||||
const cont = new Phaser.GameObjects.Container(s, px, py);
|
const cont = new Phaser.GameObjects.Container(s, px, py);
|
||||||
s.add.existing(cont);
|
s.add.existing(cont);
|
||||||
cont.setScrollFactor(0);
|
cont.setScrollFactor(0);
|
||||||
cont.setDepth(31); // just above the tracker's own plate (30)
|
// Topmost element of the live game: the CLAIM REWARD plate is never
|
||||||
|
// covered where it overlaps the compass arrows (40), the toasts
|
||||||
|
// (45), the deck blocks (50) or the sub-bar (60). Stays UNDER the
|
||||||
|
// modal save panel (70) and the full-screen consoles (80) — they
|
||||||
|
// own the screen while up.
|
||||||
|
cont.setDepth(65);
|
||||||
cont.add(g);
|
cont.add(g);
|
||||||
cont.add(header);
|
cont.add(header);
|
||||||
for (const b of btns) cont.add(b);
|
for (const b of btns) cont.add(b);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue