This commit is contained in:
2026-07-13 11:13:00 +08:00
parent ef96af7f21
commit dac7457c60
9 changed files with 297 additions and 28 deletions
@@ -140,6 +140,17 @@ function cursorRow(s: any, target: number) {
}
}
if (before && after && before.time !== after.time) {
const blockedBetween = points.some(
(point: any) =>
point.time > before.time &&
point.time < after.time &&
(point.value === null ||
point.value === undefined ||
point.quality !== "good"),
);
if (blockedBetween) {
return base;
}
const ratio = (target - before.time) / (after.time - before.time);
const badBetween = points.some(
(point: any) =>