chore: format
This commit is contained in:
parent
aa3d724223
commit
b2f6ee1e95
|
@ -3,7 +3,6 @@ export default {
|
|||
'@latus/http/client/up': async () => {
|
||||
// eslint-disable-next-line global-require, prefer-const
|
||||
let PIXI = require('./pixi');
|
||||
|
||||
const f = window.innerHeight / window.innerWidth;
|
||||
const w = window.innerWidth;
|
||||
const h = w * f;
|
||||
|
|
|
@ -1,17 +1,8 @@
|
|||
import {CanvasRenderer} from '@pixi/canvas-renderer';
|
||||
// import {CanvasMeshRenderer} from '@pixi/canvas-mesh';
|
||||
// import {CanvasGraphicsRenderer} from '@pixi/canvas-graphics';
|
||||
import {CanvasSpriteRenderer} from '@pixi/canvas-sprite';
|
||||
// import {CanvasExtract} from '@pixi/canvas-extract';
|
||||
import {CanvasPrepare} from '@pixi/canvas-prepare';
|
||||
// import '@pixi/canvas-sprite-tiling';
|
||||
// import '@pixi/canvas-particles';
|
||||
import '@pixi/canvas-display';
|
||||
// import '@pixi/canvas-text';
|
||||
|
||||
// CanvasRenderer.registerPlugin('extract', CanvasExtract);
|
||||
// CanvasRenderer.registerPlugin('graphics', CanvasGraphicsRenderer);
|
||||
// CanvasRenderer.registerPlugin('mesh', CanvasMeshRenderer);
|
||||
CanvasRenderer.registerPlugin('prepare', CanvasPrepare);
|
||||
CanvasRenderer.registerPlugin('sprite', CanvasSpriteRenderer);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user