Skip to content

Commit 661197c

Browse files
fix: only l2d can set paramY of mouth
1 parent c1ff0e0 commit 661197c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/webgal/src/Core/controller/stage/pixi/PixiController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ export default class PixiStage {
842842

843843
const paramY = mapToZeroOne(y);
844844
const target = this.figureObjects.find((e) => e.key === key);
845-
if (target) {
845+
if (target && target.sourceType === 'live2d') {
846846
const container = target.pixiContainer;
847847
const children = container.children;
848848
for (const model of children) {

0 commit comments

Comments
 (0)