diff --git a/src/utils/live2d.ts b/src/utils/live2d.ts index ba74a02..c1dfb7a 100644 --- a/src/utils/live2d.ts +++ b/src/utils/live2d.ts @@ -22,7 +22,6 @@ interface Expression { class ModelManager { private app: Application | null = null - public currentModel: Live2DModel | null = null public currentMotions = new Map() public currentExpressions = new Map() @@ -36,7 +35,8 @@ class ModelManager { view, resizeTo: window, backgroundAlpha: 0, - antialias: true, + autoDensity: true, + resolution: devicePixelRatio, }) }