From 2407bfc7be935ff43e0bc42b04f23805da3d2fe7 Mon Sep 17 00:00:00 2001 From: Romot Date: Fri, 6 Dec 2024 23:28:00 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=E3=82=B5=E3=82=A4=E3=83=89=E3=83=90?= =?UTF-8?q?=E3=83=BC=E3=82=92=E9=96=8B=E3=81=84=E3=81=9F=E7=8A=B6=E6=85=8B?= =?UTF-8?q?=E3=81=A0=E3=81=A8=E3=83=84=E3=83=BC=E3=83=AB=E3=83=91=E3=83=AC?= =?UTF-8?q?=E3=83=83=E3=83=88=E3=81=AE=E4=BD=8D=E7=BD=AE=E3=81=8C=E3=81=8A?= =?UTF-8?q?=E3=81=8B=E3=81=97=E3=81=84=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=20(#2396)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Hiroshiba --- src/components/Sing/ScoreSequencer.vue | 1 + src/components/Sing/SequencerToolPalette.vue | 8 ++++---- src/styles/v2/variables.scss | 3 ++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/Sing/ScoreSequencer.vue b/src/components/Sing/ScoreSequencer.vue index 053345b67e..ec455695fe 100644 --- a/src/components/Sing/ScoreSequencer.vue +++ b/src/components/Sing/ScoreSequencer.vue @@ -1899,6 +1899,7 @@ const contextMenuData = computed(() => { display: grid; grid-template-rows: 40px 1fr; grid-template-columns: 48px 1fr; + position: relative; } .sequencer-corner { diff --git a/src/components/Sing/SequencerToolPalette.vue b/src/components/Sing/SequencerToolPalette.vue index b6eab10581..7854002e3c 100644 --- a/src/components/Sing/SequencerToolPalette.vue +++ b/src/components/Sing/SequencerToolPalette.vue @@ -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; diff --git a/src/styles/v2/variables.scss b/src/styles/v2/variables.scss index 7c50a0b682..fe64a25ba5 100644 --- a/src/styles/v2/variables.scss +++ b/src/styles/v2/variables.scss @@ -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;