From 76849919e1d4778e2f294e9109f9b0c814096775 Mon Sep 17 00:00:00 2001 From: o108minmin Date: Tue, 15 Mar 2022 01:26:14 +0900 Subject: [PATCH] =?UTF-8?q?CPU/GPU=E3=83=A2=E3=83=BC=E3=83=89=E3=81=AE?= =?UTF-8?q?=E7=8A=B6=E6=85=8B=E3=82=92=E3=82=BF=E3=82=A4=E3=83=88=E3=83=AB?= =?UTF-8?q?=E3=81=AB=E8=BF=BD=E5=8A=A0=20(#757)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/MenuBar.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/MenuBar.vue b/src/components/MenuBar.vue index 85bc801916..1b9b0b57e8 100644 --- a/src/components/MenuBar.vue +++ b/src/components/MenuBar.vue @@ -22,7 +22,8 @@ (isEdited ? "*" : "") + (projectName !== undefined ? projectName + " - " : "") + "VOICEVOX" + - (currentVersion ? " - Ver. " + currentVersion : "") + (currentVersion ? " - Ver. " + currentVersion + " - " : "") + + (useGpu ? "GPU" : "CPU") }} @@ -91,6 +92,7 @@ export default defineComponent({ const uiLocked = computed(() => store.getters.UI_LOCKED); const menubarLocked = computed(() => store.getters.MENUBAR_LOCKED); const projectName = computed(() => store.getters.PROJECT_NAME); + const useGpu = store.state.useGpu; const isEdited = computed(() => store.getters.IS_EDITED); const isFullscreen = computed(() => store.getters.IS_FULLSCREEN); @@ -398,6 +400,7 @@ export default defineComponent({ subMenuOpenFlags, reassignSubMenuOpen, menudata, + useGpu, }; }, });