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:
Henrik Giesel 2021-01-30 13:19:27 +01:00
parent b66bedbc9f
commit aeff3d7fac

View file

@ -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}`;
}