Skip to content

Commit

Permalink
fix: eslinter
Browse files Browse the repository at this point in the history
  • Loading branch information
agustincarriso committed Jan 16, 2025
1 parent e9ec6e3 commit 53ff3e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/itemamountpanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class ItemAmountPanel {
// let trans:Transform = new Transform({ position: _pos, scale: Vector3.One() });
// trans.rotation.eulerAngles = Vector3.create(0, 0, -90);
// this.addComponent(trans);
let bgSize: Vector3 = Vector3.create(0,0,0)
let bgSize: Vector3 = Vector3.create(0, 0, 0)
let iconScale: number = 0.14
if (_isSmall) {
bgSize = Vector3.create(0.32, 0.12, 0.1)
Expand Down Expand Up @@ -106,7 +106,7 @@ export class ItemAmountPanel {

show(_frameNum: number, _value: number, _numOwned: number = 0): void {
// log("show(" + _frameNum + ", " + _value + ", " + _numOwned) + ")";
if (_numOwned >= _value) {
if (_numOwned >= _value) {
this.enable()
} else {
this.disable()
Expand Down

0 comments on commit 53ff3e5

Please sign in to comment.