Skip to content

Commit

Permalink
chore: titleTextをVOICEVOXにする
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Feb 6, 2025
1 parent a9ff38f commit 530abc3
Showing 1 changed file with 12 additions and 19 deletions.
31 changes: 12 additions & 19 deletions src/components/Menu/MenuBar/MenuBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,25 +96,18 @@ const engineInfos = computed(() => store.state.engineInfos);
const engineManifests = computed(() => store.state.engineManifests);
const engineIcons = useEngineIcons(engineManifests);
const enableMultiEngine = computed(() => store.state.enableMultiEngine);
const titleText = isVst
? computed(
() =>
(isEdited.value ? "*" : "") +
"VVVST" +
(currentVersion.value ? " - Ver. " + currentVersion.value : ""),
)
: computed(
() =>
(isEdited.value ? "*" : "") +
(projectName.value != undefined ? projectName.value + " - " : "") +
"VOICEVOX" +
(currentVersion.value ? " - Ver. " + currentVersion.value : "") +
(extraVersionInfo ? ` (${extraVersionInfo})` : "") +
(isMultiEngineOffMode.value ? " - マルチエンジンオフ" : "") +
(defaultEngineAltPortTo.value != null
? ` - Port: ${defaultEngineAltPortTo.value}`
: ""),
);
const titleText = computed(
() =>
(isEdited.value ? "*" : "") +
(projectName.value != undefined ? projectName.value + " - " : "") +
"VOICEVOX" +
(currentVersion.value ? " - Ver. " + currentVersion.value : "") +
(extraVersionInfo ? ` (${extraVersionInfo})` : "") +
(isMultiEngineOffMode.value ? " - マルチエンジンオフ" : "") +
(defaultEngineAltPortTo.value != null
? ` - Port: ${defaultEngineAltPortTo.value}`
: ""),
);
const canUndo = computed(() => store.getters.CAN_UNDO(props.editor));
const canRedo = computed(() => store.getters.CAN_REDO(props.editor));
const isMultiSelectEnabled = computed(
Expand Down

0 comments on commit 530abc3

Please sign in to comment.