Cleanup filter bar

This commit is contained in:
Sirz Benjie 2025-05-29 22:56:18 -05:00
parent e1be360e74
commit 0db6b2a0c8
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -49,13 +49,9 @@ export class FilterBar extends Phaser.GameObjects.Container {
this.cursorOffset = cursorOffset;
this.window = addWindow(0, 0, width, height, false, false, undefined, undefined, WindowVariant.THIN);
this.add(this.window);
this.cursorObj = globalScene.add.image(1, 1, "cursor");
this.cursorObj.setScale(0.5);
this.cursorObj.setVisible(false);
this.cursorObj.setOrigin(0, 0);
this.add(this.cursorObj);
this.cursorObj = globalScene.add.image(1, 1, "cursor").setScale(0.5).setVisible(false).setOrigin(0);
this.add([this.window, this.cursorObj]);
}
/**