InitPixiResizeCallback() {
        JPixi.Event.Resize(() => {
            this.UpdateSize();

            clearInterval(repeat);
            var repeat = setInterval(() => this.ResizeList(), 10);
            setTimeout(() => clearInterval(repeat), 500);
        });
    }
/** 
     * Register callback to camera when screen resizes.
     */
Register callback to camera when screen resizes.
Register callback to camera when screen resizes .
InitPixiResizeCallback() {
        JPixi.Event.Resize(() => {
            this.UpdateSize();
            clearInterval(repeat);
            var repeat = setInterval(() => this.ResizeList(), 10);
            setTimeout(() => clearInterval(repeat), 500);
        });
    }
InitPixiResizeCallback ( ) { JPixi . Event . Resize ( ( ) => { this . UpdateSize ( ) ; clearInterval ( repeat ) ; var repeat = setInterval ( ( ) => this . ResizeList ( ) , 10 ) ; setTimeout ( ( ) => clearInterval ( repeat ) , 500 ) ; } ) ; }
Register callback to camera when screen resizes.
Register callback to camera when screen resizes .