diff --git a/packages/fun/src/client/index.js b/packages/fun/src/client/index.js index 8867485..f0fac4a 100644 --- a/packages/fun/src/client/index.js +++ b/packages/fun/src/client/index.js @@ -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; diff --git a/packages/fun/src/client/legacy.js b/packages/fun/src/client/legacy.js index 52cee8e..3205f42 100644 --- a/packages/fun/src/client/legacy.js +++ b/packages/fun/src/client/legacy.js @@ -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);