From 638594aab4c5c5351abb7b85cf79c338eeee0560 Mon Sep 17 00:00:00 2001 From: Artur Tamborski Date: Sun, 24 Jan 2021 12:45:06 +0100 Subject: [PATCH] Recognizer: iterate on solutions first --- src/components/Recognizer/Recognizer.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/components/Recognizer/Recognizer.tsx b/src/components/Recognizer/Recognizer.tsx index 3e2f1a3..60b8687 100644 --- a/src/components/Recognizer/Recognizer.tsx +++ b/src/components/Recognizer/Recognizer.tsx @@ -139,9 +139,9 @@ export default class Recognizer extends React.Component t.split(' ')); + for (let key of keys) { solutions.push({key, selection: {start: {x: 0, y: 0}, end: {x: 0, y: 0}}}); }