Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
draw() {
this.resume = new PIXI.Sprite(cvTexture);
this.resume.scale.set(SCALES.RESUME[screenSizeDetector()]);
this.resume.x = this.xAnchor;
this.resume.type = 'resume-on-belt';
this.parent.addChild(this.resume);
}
draw() {
this.resume = new PIXI.Sprite(cvTexture);
this.resume.scale.set(SCALES.RESUME[screenSizeDetector()]);
this.resume.x = this.xAnchor;
this.resume.type = 'resume-on-belt';
this.parent.addChild(this.resume);
}
addBlackScreen(){
this.blackScreen=new PIXI.Sprite(PIXI.Texture.WHITE);
this.blackScreen.width=this.width;
this.blackScreen.height=this.height;
this.blackScreen.tint=0x000000;
this.blackScreen.parentLayer = this.layerUI;
}