mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-29 11:42:21 +02:00
Removed unused options from base-stats-overlay
This commit is contained in:
parent
921af61fcc
commit
6a55674d0c
@ -29,8 +29,6 @@ export default class BaseStatsOverlay extends Phaser.GameObjects.Container imple
|
|||||||
|
|
||||||
private statsBg: Phaser.GameObjects.NineSlice;
|
private statsBg: Phaser.GameObjects.NineSlice;
|
||||||
|
|
||||||
private options: BaseStatsOverlaySettings;
|
|
||||||
|
|
||||||
public scale: number;
|
public scale: number;
|
||||||
public width: number;
|
public width: number;
|
||||||
|
|
||||||
@ -38,7 +36,6 @@ export default class BaseStatsOverlay extends Phaser.GameObjects.Container imple
|
|||||||
super(globalScene, options?.x, options?.y);
|
super(globalScene, options?.x, options?.y);
|
||||||
this.scale = options?.scale || 1; // set up the scale
|
this.scale = options?.scale || 1; // set up the scale
|
||||||
this.setScale(this.scale);
|
this.setScale(this.scale);
|
||||||
this.options = options || {};
|
|
||||||
|
|
||||||
// prepare the description box
|
// prepare the description box
|
||||||
this.width = (options?.width || BaseStatsOverlay.getWidth(this.scale)) / this.scale; // divide by scale as we always want this to be half a window wide
|
this.width = (options?.width || BaseStatsOverlay.getWidth(this.scale)) / this.scale; // divide by scale as we always want this to be half a window wide
|
||||||
|
Loading…
Reference in New Issue
Block a user