mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix ease graph building wrong query omitting ease edge cases
E.g. search for "prop:ease>=2.5" AND "prop:ease<2.55" instead of "prop:ease>=2.5" AND "prop:ease<2.54"
This commit is contained in:
parent
b66bedbc9f
commit
aeff3d7fac
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ function makeQuery(start: number, end: number): string {
|
|||
}
|
||||
|
||||
const fromQuery = `"prop:ease>=${start / 100}"`;
|
||||
const tillQuery = `"prop:ease<${end / 100}"`;
|
||||
const tillQuery = `"prop:ease<${(end + 1) / 100}"`;
|
||||
|
||||
return `${fromQuery} AND ${tillQuery}`;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue