fix: only scroll when using arrow keys

This commit is contained in:
Anna
2022-05-31 23:26:28 -04:00
parent 914bb2ac16
commit 9068199236
2 changed files with 14 additions and 5 deletions
+2 -2
View File
@@ -93,7 +93,7 @@ internal static class AutoTranslate {
if (Entries.TryGetValue(data.Language, out var entries)) {
return entries;
}
var shouldAdd = ValidEntries.Count == 0;
var parser = Parser();
@@ -186,7 +186,7 @@ internal static class AutoTranslate {
text.TextValue,
text
));
if (shouldAdd) {
ValidEntries.Add((row.Group, row.RowId));
}