diff --git a/apps/stage-pocket/src/pages/index.vue b/apps/stage-pocket/src/pages/index.vue index 33ddfd0e7..6ca63e1f7 100644 --- a/apps/stage-pocket/src/pages/index.vue +++ b/apps/stage-pocket/src/pages/index.vue @@ -15,7 +15,6 @@ import { WidgetStage } from '@proj-airi/stage-ui/components/scenes' import { useAudioRecorder } from '@proj-airi/stage-ui/composables/audio/audio-recorder' import { useVAD } from '@proj-airi/stage-ui/stores/ai/models/vad' import { useChatOrchestratorStore } from '@proj-airi/stage-ui/stores/chat' -import { useLive2d } from '@proj-airi/stage-ui/stores/live2d' import { useConsciousnessStore } from '@proj-airi/stage-ui/stores/modules/consciousness' import { useHearingSpeechInputPipeline } from '@proj-airi/stage-ui/stores/modules/hearing' import { useProvidersStore } from '@proj-airi/stage-ui/stores/providers' @@ -33,7 +32,6 @@ function handleSettingsOpen(open: boolean) { } const positionCursor = useMouse() -const { scale, position, positionInPercentageString } = storeToRefs(useLive2d()) const breakpoints = useBreakpoints(breakpointsTailwind) const isMobile = breakpoints.smaller('md') @@ -199,9 +197,6 @@ watch([stream, () => vadLoaded.value], async ([s, loaded]) => { x: positionCursor.x.value, y: positionCursor.y.value, }" - :x-offset="`${isMobile ? position.x : position.x - 10}%`" - :y-offset="positionInPercentageString.y" - :scale="scale" /> diff --git a/apps/stage-tamagotchi/src/renderer/pages/index.vue b/apps/stage-tamagotchi/src/renderer/pages/index.vue index 878d8f297..3c6174714 100644 --- a/apps/stage-tamagotchi/src/renderer/pages/index.vue +++ b/apps/stage-tamagotchi/src/renderer/pages/index.vue @@ -25,7 +25,6 @@ import { WidgetStage } from '@proj-airi/stage-ui/components/scenes' import { useAudioRecorder } from '@proj-airi/stage-ui/composables/audio/audio-recorder' import { useCanvasPixelIsTransparentAtPoint } from '@proj-airi/stage-ui/composables/canvas-alpha' import { useVAD } from '@proj-airi/stage-ui/stores/ai/models/vad' -import { useLive2d } from '@proj-airi/stage-ui/stores/live2d' import { useHearingSpeechInputPipeline } from '@proj-airi/stage-ui/stores/modules/hearing' import { useOnboardingStore } from '@proj-airi/stage-ui/stores/onboarding' import { useSettings, useSettingsAudioDevice } from '@proj-airi/stage-ui/stores/settings' @@ -113,8 +112,6 @@ const isAroundWindowBorderFor250Ms = refDebounced(isAroundWindowBorder, 250) const setIgnoreMouseEvents = useElectronEventaInvoke(electron.window.setIgnoreMouseEvents) -const live2dStore = useLive2d() -const { scale, positionInPercentageString } = storeToRefs(live2dStore) const { live2dLookAtX, live2dLookAtY } = storeToRefs(useWindowStore()) const { pause, resume } = watch(isTransparent, (transparent) => { @@ -484,9 +481,6 @@ watch([stream, () => vadLoaded.value], async ([s, loaded]) => { flex-1 :paused="stagePaused" :focus-at="{ x: live2dLookAtX, y: live2dLookAtY }" - :scale="scale" - :x-offset="positionInPercentageString.x" - :y-offset="positionInPercentageString.y" /> vadLoaded.value], async ([s, loaded]) => { x: positionCursor.x.value, y: positionCursor.y.value, }" - :x-offset="`${isMobile ? position.x : position.x - 10}%`" - :y-offset="positionInPercentageString.y" - :scale="scale" /> diff --git a/packages/stage-layouts/src/components/Layouts/InteractiveArea/Actions/ViewControls.vue b/packages/stage-layouts/src/components/Layouts/InteractiveArea/Actions/ViewControls.vue index e3ee30932..be44ebb59 100644 --- a/packages/stage-layouts/src/components/Layouts/InteractiveArea/Actions/ViewControls.vue +++ b/packages/stage-layouts/src/components/Layouts/InteractiveArea/Actions/ViewControls.vue @@ -1,42 +1,57 @@