fix: exclude automatic hold judgments from special-start timing bonus
Publish GitHub Pages output / publish (push) Successful in 40s

This commit is contained in:
2026-09-29 10:25:51 +09:00
parent eaf4aeadc5
commit 5783072b12
826 changed files with 859 additions and 828 deletions
+5 -2
View File
@@ -125,6 +125,7 @@ function flattenEvents(chartData) {
const block = Array.isArray(rawBlock) ? rawBlock : [rawBlock];
return block.map((note, index) => ({
...note,
isHoldEnd: index > 0 && index === block.length - 1,
// 롱노트 안쪽 판정은 점 모양이어도 0.1배다. 시작·끝의 일반 판정만 1배다.
type: (index === 0 || index === block.length - 1) &&
note.note_type !== 'mid' &&
@@ -141,13 +142,15 @@ function flattenEvents(chartData) {
...pink.map((note) => ({
...note,
type: note.note_type ?? 'regular',
is_flick: !isHoldEndFlick(note)
is_flick: !isHoldEndFlick(note),
isHoldEnd: isHoldEndFlick(note)
}))
]
.map((note) => ({
timeSeconds: note.time_seconds,
type: note.type === 'mid' ? 'mid' : 'regular',
isFlick: note.is_flick === true
isFlick: note.is_flick === true,
...(note.isHoldEnd ? { isHoldEnd: true } : {})
}))
.filter((note) => Number.isFinite(note.timeSeconds))
.sort((left, right) => left.timeSeconds - right.timeSeconds || (left.type === 'mid' ? 1 : -1));