Skip to content

Commit

Permalink
CPU/GPUモードの状態をタイトルに追加 (#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
o108minmin authored Mar 14, 2022
1 parent e7456f3 commit 7684991
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/MenuBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
(isEdited ? "*" : "") +
(projectName !== undefined ? projectName + " - " : "") +
"VOICEVOX" +
(currentVersion ? " - Ver. " + currentVersion : "")
(currentVersion ? " - Ver. " + currentVersion + " - " : "") +
(useGpu ? "GPU" : "CPU")
}}
</div>
<q-space />
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -398,6 +400,7 @@ export default defineComponent({
subMenuOpenFlags,
reassignSubMenuOpen,
menudata,
useGpu,
};
},
});
Expand Down

0 comments on commit 7684991

Please sign in to comment.