Skip to content

Commit

Permalink
ピッチ表示調整
Browse files Browse the repository at this point in the history
  • Loading branch information
Romot authored and Romot committed Jul 8, 2024
1 parent daeb2ef commit 23bfc12
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 27 deletions.
17 changes: 11 additions & 6 deletions src/components/Sing/SequencerLyricInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,17 @@ watch(
.lyric-input {
position: absolute;
top: 0;
left: 0;
font-weight: 700;
min-width: 3rem;
max-width: 6rem;
border: 0;
outline: 2px solid lab(80, -22.953, 14.365);
font-weight: 500;
font-size: 16px;
max-width: 4rem;
width: fit-content;
background-color: var(--md-ref-palette-neutral-99);
color: var(--md-sys-color-on-primary-fixed);
outline: 1px solid var(--md-sys-color-primary);
border-radius: 4px;
border: 0;
box-shadow:
0 4px 6px rgba(0, 0, 0, 0.1),
0 1px 3px rgba(0, 0, 0, 0.08);
}
</style>
21 changes: 2 additions & 19 deletions src/components/Sing/SequencerNote.vue
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,8 @@ const onLeftEdgeMouseDown = (event: MouseEvent) => {
&.preview-lyric {
.note-bar {
background-color: var(--md-sys-color-primary-fixed-dim);
border-color: var(--md-sys-color-primary-fixed);
background-color: var(--md-sys-color-primary-fixed);
border-color: var(--md-sys-color-primary-fixed-dim);
}
.note-lyric {
Expand Down Expand Up @@ -350,23 +350,6 @@ const onLeftEdgeMouseDown = (event: MouseEvent) => {
}
}
.note-lyric-input {
position: absolute;
top: 0;
font-weight: 500;
font-size: 16px;
max-width: 4rem;
width: fit-content;
background-color: var(--md-ref-palette-neutral-99);
color: var(--md-sys-color-on-primary-fixed);
outline: 2px solid var(--md-sys-color-primary);
border-radius: 4px;
border: 0;
box-shadow:
0 4px 6px rgba(0, 0, 0, 0.1),
0 1px 3px rgba(0, 0, 0, 0.08);
}
.cursor-move {
cursor: move;
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/Sing/SequencerPitch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ const previewPitchEdit = computed(() => props.previewPitchEdit);
const editFrameRate = computed(() => store.state.editFrameRate);
const originalPitchLine: PitchLine = {
color: new Color(171, 201, 176, 255),
color: new Color(160, 160, 160, 255),
width: 1.2,
pitchDataMap: new Map(),
lineStripMap: new Map(),
};
const pitchEditLine: PitchLine = {
color: new Color(146, 214, 154, 255),
color: new Color(152, 213, 164, 255),
width: 2,
pitchDataMap: new Map(),
lineStripMap: new Map(),
Expand Down

0 comments on commit 23bfc12

Please sign in to comment.