You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting: pixi_scrollbox_1.ScrollBox is not a constructor
When using as follows:
`
import { ScrollBox } from 'pixi-scrollbox';
this.app = new PIXI.Application({
backgroundColor: 0x1099bb,
width: this.width,
height: this.height
});
it guess happens just because class Scrollbox hasn't "B" character. I made and issue about that. Types and sources have different letters (upperCase a lowerCase )
Getting:
pixi_scrollbox_1.ScrollBox is not a constructor
When using as follows:
`
import { ScrollBox } from 'pixi-scrollbox';
this.app = new PIXI.Application({
backgroundColor: 0x1099bb,
width: this.width,
height: this.height
});
this.viewport = new ScrollBox({ boxWidth: this.width, boxHeight: this.height});
this.container.appendChild(this.app.view);
this.app.stage.addChild(this.viewport);
`
The text was updated successfully, but these errors were encountered: