Skip to content

Commit

Permalink
Fix: サイドバーを開いた状態だとツールパレットの位置がおかしいのを修正 (VOICEVOX#2396)
Browse files Browse the repository at this point in the history
Co-authored-by: Hiroshiba <[email protected]>
  • Loading branch information
romot-co and Hiroshiba authored Dec 6, 2024
1 parent 34c670c commit 2407bfc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/components/Sing/ScoreSequencer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1899,6 +1899,7 @@ const contextMenuData = computed<ContextMenuItemData[]>(() => {
display: grid;
grid-template-rows: 40px 1fr;
grid-template-columns: 48px 1fr;
position: relative;
}
.sequencer-corner {
Expand Down
8 changes: 4 additions & 4 deletions src/components/Sing/SequencerToolPalette.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ defineEmits<{
flex-direction: column;
background: var(--scheme-color-surface);
outline: 1px solid var(--scheme-color-outline-variant);
position: fixed;
top: 144px;
left: 72px;
z-index: 10;
position: absolute;
top: 56px;
left: 64px;
z-index: var(--z-index-sing-tool-palette);
padding: 2px;
border-radius: 24px;
gap: 0;
Expand Down
3 changes: 2 additions & 1 deletion src/styles/v2/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ $z-index-sing-note: 10;
$z-index-sing-note-lyric: 20;
$z-index-sing-pitch: 30;
$z-index-sing-playhead: 40;
$z-index-sing-lyric-input: 50;
$z-index-sing-tool-palette: 50;
$z-index-sing-lyric-input: 60;

0 comments on commit 2407bfc

Please sign in to comment.