Skip to content

Commit

Permalink
Delete: ヘッダーを消す
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Oct 31, 2024
1 parent c81cd59 commit 1260cc0
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/components/Sing/SequencerRuler/Presentation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
>
<slot
name="contextMenu"
:header="contextMenuHeader"
:menudata="contextMenudata"
:onContextMenuMounted="(el) => (contextMenu = el)"
/>
Expand Down Expand Up @@ -125,7 +124,6 @@ import {
getMeasureDuration,
getNoteDuration,
getTimeSignaturePositions,
ticksToMeasuresBeats,
tickToMeasureNumber,
} from "@/sing/domain";
import { baseXToTick, tickToBaseX } from "@/sing/viewHelper";
Expand Down Expand Up @@ -399,19 +397,6 @@ const timeSignatureChangeExists = computed(
() => currentTimeSignature.value.measureNumber === currentMeasure.value,
);
const contextMenuHeader = computed(() => {
const measuresBeats = ticksToMeasuresBeats(
playheadTicks.value,
props.timeSignatures.map((ts, i) => ({
...ts,
position: tsPositions.value[i],
})),
props.tpqn,
);
return `${String(measuresBeats.measures).padStart(3, "0")}.${measuresBeats.beats.toFixed(2).padStart(5, "0")}`;
});
const showTempoOrTimeSignatureChangeDialog = async (
componentProps: ExtractPropTypes<typeof TempoOrTimeSignatureChangeDialog>,
) => {
Expand Down

0 comments on commit 1260cc0

Please sign in to comment.