Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

音域・音量域調整機能を開発環境じゃなくても使えるようにする #1918

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 20 additions & 23 deletions src/components/Sing/ToolBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,26 @@
<!-- configs for entire song -->
<div class="sing-configs">
<CharacterMenuButton />
<!-- 開発時のみ機能 -->
<template v-if="!isProduction">
<QInput
type="number"
:model-value="keyRangeAdjustmentInputBuffer"
label="音域調整"
dense
hide-bottom-space
class="key-range-adjustment"
@update:model-value="setKeyRangeAdjustmentInputBuffer"
@change="setKeyRangeAdjustment"
/>
<QInput
type="number"
:model-value="volumeRangeAdjustmentInputBuffer"
label="音量域調整"
dense
hide-bottom-space
class="volume-range-adjustment"
@update:model-value="setVolumeRangeAdjustmentInputBuffer"
@change="setVolumeRangeAdjustment"
/>
</template>
<QInput
type="number"
:model-value="keyRangeAdjustmentInputBuffer"
label="音域調整"
dense
hide-bottom-space
class="key-range-adjustment"
@update:model-value="setKeyRangeAdjustmentInputBuffer"
@change="setKeyRangeAdjustment"
/>
<QInput
type="number"
:model-value="volumeRangeAdjustmentInputBuffer"
label="音量域調整"
dense
hide-bottom-space
class="volume-range-adjustment"
@update:model-value="setVolumeRangeAdjustmentInputBuffer"
@change="setVolumeRangeAdjustment"
/>
<QInput
type="number"
:model-value="bpmInputBuffer"
Expand Down Expand Up @@ -137,7 +134,7 @@
<script setup lang="ts">
import { computed, watch, ref, onMounted, onUnmounted } from "vue";
import { useStore } from "@/store";
import { isProduction } from "@/type/preload";

Check warning on line 137 in src/components/Sing/ToolBar.vue

View workflow job for this annotation

GitHub Actions / build-test

'isProduction' is defined but never used

Check warning on line 137 in src/components/Sing/ToolBar.vue

View workflow job for this annotation

GitHub Actions / lint

'isProduction' is defined but never used

import {
getSnapTypes,
Expand Down
Loading