From aeff3d7fac6f092d231bfacf58eec156b58c867a Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Sat, 30 Jan 2021 13:19:27 +0100 Subject: [PATCH] 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" --- ts/graphs/ease.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/graphs/ease.ts b/ts/graphs/ease.ts index 09103ddf2..cf231d533 100644 --- a/ts/graphs/ease.ts +++ b/ts/graphs/ease.ts @@ -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}`; }