Skip to content

Commit

Permalink
Adjust debug names of some core containers
Browse files Browse the repository at this point in the history
  • Loading branch information
hubol committed Jan 15, 2024
1 parent b4edf6f commit 5c4428a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/igua/igua-layers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export class IguaLayers {
readonly hud: Container;

constructor(private readonly _root: Container) {
this.scene = new Container().named("Scene");
this.scene = new Container().named("SceneStack");
this.hud = new Container().named("Hud");
_root.addChild(this.scene, this.hud);
console.log(...Logging.componentArgs(this));
Expand Down
2 changes: 1 addition & 1 deletion src/igua/igua-scene-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface IguaSceneMeta {

function createIguaScene(layers: IguaLayers, source: Function, meta: IguaSceneMeta) {
const ticker = new AsshatTicker();
const root = layers.scene.addChild(new TickerContainer(ticker).named(`Root (${source.name})`));
const root = layers.scene.addChild(new TickerContainer(ticker).named(`Scene: ${source.name}`));

const background = new Container().named("Background");
const stage = new Container().named("Stage");
Expand Down

0 comments on commit 5c4428a

Please sign in to comment.